Esempio n. 1
0
 public Process(Job job, Dictionary <string, string> args, JobProperties jobProps)
 {
     m_job       = job;
     m_args      = args;
     m_jobProps  = jobProps;
     m_logCache  = new CachingLogger(LogLevel.Info, null);
     m_reportEnv = new RootJobReportEnv(job);
 }
Esempio n. 2
0
 public LogDocker(IDockerFactory factory)
     : base(factory)
 {
     InitializeComponent();
     m_mainWinLog = new CachingLogger(GlobalSettings.Pages.Log().WindowLogLevel, GlobalSettings.Pages.Log().WindowCacheSize);
     Logging.MultiCast.AddLogger(m_mainWinLog);
     if (!Core.IsMono)
     {
         foreach (var rec in Logging.GetFeedbackLastLogEntries())
         {
             // add log entries from startup
             m_mainWinLog.LogMessage(rec);
         }
     }
     messageLogFrame1.Source   = m_mainWinLog;
     HSettings.ReloadSettings += HSettings_ReloadSettings;
 }