public static ILoggerFactory AddColorConsoleLogger( this ILoggerFactory loggerFactory, ColorConsoleLoggerConfiguration config) { loggerFactory.AddProvider(new ColorConsoleLoggerProvider(config)); return(loggerFactory); }
public static ILoggerFactory AddColorConsoleLogger( this ILoggerFactory loggerFactory) { var config = new ColorConsoleLoggerConfiguration(); return(loggerFactory.AddColorConsoleLogger(config)); }
public ColorConsoleLoggerProvider(ColorConsoleLoggerConfiguration config) { _config = config; }
public ColorConsoleLogger(string name, ColorConsoleLoggerConfiguration config) { _name = name; _config = config; }