public void Log(TraceLevel level, string message) { if (InternalTrace.Level >= level) { InternalTrace.Log(level, message, name); } }
public void Error(string message, Exception ex) { if (InternalTrace.Level >= TraceLevel.Error) { InternalTrace.Log(TraceLevel.Error, message, name, ex); } }