Пример #1
0
 public void LogToAll()
 {
     log(FactoryHelper.CreateConsoleLoggerFactory(), "the console");
     log(FactoryHelper.CreateFileLoggerFactory(), "a file");
     log(FactoryHelper.CreateInsightLoggerFactory(), "applications insights");
     log(FactoryHelper.CreateEventLoggerFactory(), "event logs");
     log(FactoryHelper.CreateDebugLoggerFactory(), "debug monitor");
 }
Пример #2
0
 public void LogWithConfig()
 {
     log(FactoryHelper.CreateLoggerFactoryWithSettings(), "all with config");
 }