static Log() { LoggerContext.SetCurrent(new TraceSourceLoggerFactory()); Logger = LoggerContext.CreateLog(); }
public AppLogger(IConfiguration configuration) { context = CreateDatabaseService.CreateDatabase(configuration.GetConnectionString("LoggerConnection")); }
public DBLogger(string categoryName) { this.categoryName = categoryName; context = new LoggerContext(); }
public AppLogger(string loggerConnectionString) { context = CreateDatabaseService.CreateDatabase(loggerConnectionString); }