Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InMemoryLogger"/> class.
 /// </summary>
 /// <param name="minLevel">The minimum log level that will be written.</param>
 public ShortFileLogger(CustomLoggingConfig config)
 {
     _config      = config;
     _minLevel    = config.DefaultLogLevel;
     _loggingPath = config.ContentRootPath;
     _useUtc      = config.UseUtcInDates;
 }
Example #2
0
 public InMemoryLogger(CustomLoggingConfig config) : base(config)
 {
     _logs = new List <LogEntry>();
 }
Example #3
0
 public CustomLogger(CustomLoggingConfig config)
 {
     _logger = new ShortFileLogger(config);
 }