public void LogEvent(NodejsToolsLogEvent logEvent, object data = null) { foreach (var logger in this._loggers) { logger.LogEvent(logEvent, data); } }
public void LogEvent(NodejsToolsLogEvent logEvent, object argument) { int val; switch (logEvent) { case NodejsToolsLogEvent.Launch: if ((int)argument != 0) { _debugLaunchCount++; } else { _normalLaunchCount++; } break; case NodejsToolsLogEvent.SurveyNewsFrequency: val = (int)argument; if (Enum.IsDefined(typeof(SurveyNewsPolicy), val)) { _surveyNewsPolicy = (SurveyNewsPolicy)val; } break; case NodejsToolsLogEvent.AnalysisLevel: val = (int)argument; if (Enum.IsDefined(typeof(AnalysisLevel), val)) { _analysisLevel = (AnalysisLevel)val; } break; } }
public void LogEvent(NodejsToolsLogEvent logEvent, object argument) { int val; switch (logEvent) { case NodejsToolsLogEvent.Launch: if ((int)argument != 0) { _debugLaunchCount++; } else { _normalLaunchCount++; } break; case NodejsToolsLogEvent.SurveyNewsFrequency: val = (int)argument; if (Enum.IsDefined(typeof(SurveyNewsPolicy), val)) { _surveyNewsPolicy = (SurveyNewsPolicy)val; } break; case NodejsToolsLogEvent.AnalysisLevel: val = (int)argument; if (Enum.IsDefined(typeof(AnalysisLevel), val)) { _analysisLevel = (AnalysisLevel)val; } break; } }
public void LogEvent(NodejsToolsLogEvent logEvent, object argument) { switch (logEvent) { case NodejsToolsLogEvent.Launch: if ((int)argument != 0) { this._debugLaunchCount++; } else { this._normalLaunchCount++; } break; } }
public void LogEvent(NodejsToolsLogEvent logEvent, object data = null) { foreach (var logger in _loggers) { logger.LogEvent(logEvent, data); } }