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