コード例 #1
0
 public static ILoggerFactory AddLASIOutput(this ILoggerFactory factory) => factory.Add(new OutputLoggerProvider((category, logLevel) => logLevel >= LogLevel.Information));
コード例 #2
0
 public static ILoggerFactory AddLASIOutput(this ILoggerFactory factory, Func <string, LogLevel, bool> filter) => factory.Add(new OutputLoggerProvider(filter));
コード例 #3
0
 public static ILoggerFactory AddLASIOutput(this ILoggerFactory factory, LogLevel minLevel) => factory.Add(new OutputLoggerProvider((category, logLevel) => logLevel >= minLevel));