private void ToMonik(TraceEventType eventType, string format, object[] args) { switch (eventType) { case TraceEventType.Critical: _monik.ApplicationFatal(format, args); break; case TraceEventType.Error: _monik.ApplicationError(format, args); break; case TraceEventType.Warning: _monik.ApplicationWarning(format, args); break; case TraceEventType.Information: _monik.ApplicationInfo(format, args); break; } }