Added additional providers and correlationId (by using a LogContext)
This commit is contained in:
@@ -37,9 +37,11 @@ public class Logger
|
||||
UseLocalTime = UseLocalTime,
|
||||
},
|
||||
};
|
||||
|
||||
_logManager = new LogManager(LoggerSettings);
|
||||
_logManager.Settings.TypesToLog.Clear();
|
||||
_logManager.Settings.LogInfo();
|
||||
|
||||
while (true)
|
||||
{
|
||||
_logManager.WriteAsync("2222", ELogType.INFO, writeToConsole: false);
|
||||
|
||||
Reference in New Issue
Block a user