static ILogWriter GetWarn(TraceLogProvider log) { return new TraceLogWriter(() => log.IsEnabled(LogLevel.Warn)); }
static ILogWriter GetInfo(TraceLogProvider log) { return new TraceLogWriter(() => log.IsEnabled(LogLevel.Info)); }
static ILogWriter GetError(TraceLogProvider log) { return new TraceLogWriter(() => log.IsEnabled(LogLevel.Error)); }
static ILogWriter GetFatal(TraceLogProvider log) { return new TraceLogWriter(() => log.IsEnabled(LogLevel.Fatal)); }
static ILogWriter GetDebug(TraceLogProvider log) { return new TraceLogWriter(() => log.IsEnabled(LogLevel.Debug)); }