Beispiel #1
0
 public void SetContext(LoggerContext loggerContext)
 {
     if (loggerContext != null)
       {
     _logLevel = loggerContext.GetLogLevel();
       }
 }
 public void Initialize(IScriptPackSession session)
 {
     var loggerContext = new LoggerContext { Arguments = session.ScriptArgs };
       _logger.SetContext(loggerContext);
 }