public static void WriteDebug(string message, object[] variables) { ILogSrv log = ServiceLocator.Current.GetInstance <ILogSrv>(); string debugInfo = GetDebugInfo(variables); log.WriteTrace(new LogEntry(message, debugInfo, Severity.Debug)); }
public static void WriteTrace(string functionName, string message) { ILogSrv log = ServiceLocator.Current.GetInstance <ILogSrv>(); log.WriteTrace(new LogEntry("Function", functionName, Severity.Trace)); }
public static void WriteWarning(string headline, string message) { ILogSrv log = ServiceLocator.Current.GetInstance <ILogSrv>(); log.WriteTrace(new LogEntry(headline, message, Severity.Warning)); }