protected override void TraceInternal(TraceLevel level, string message) { switch (level) { case TraceLevel.Information: Log.Info(Tag, message); break; case TraceLevel.Warning: Log.Warn(Tag, message); break; case TraceLevel.Error: Log.Error(Tag, message); break; } }
protected override void TraceInternal(TraceLevel level, string message) { switch (level) { case TraceLevel.Information: System.Diagnostics.Trace.TraceInformation(message); break; case TraceLevel.Warning: System.Diagnostics.Trace.TraceWarning(message); break; case TraceLevel.Error: System.Diagnostics.Trace.TraceError(message); break; } }