Beispiel #1
0
        public void Trace(string message, params object[] args)
        {
            var logline = LogLineFormatter.LogLine("trace", message, null, args);

            System.Diagnostics.Trace.TraceInformation(logline);
        }
Beispiel #2
0
        public void WarnException(string message, Exception exception, params object[] args)
        {
            var logline = LogLineFormatter.LogLine("warn", message, exception, args);

            System.Diagnostics.Trace.TraceWarning(logline);
        }
Beispiel #3
0
        public void FatalException(string message, Exception exception, params object[] args)
        {
            var logline = LogLineFormatter.LogLine("fatal", message, exception, args);

            System.Diagnostics.Trace.TraceError(logline);
        }
Beispiel #4
0
        public void Error(string message, params object[] args)
        {
            var logline = LogLineFormatter.LogLine("error", message, null, args);

            System.Diagnostics.Trace.TraceError(logline);
        }
Beispiel #5
0
        public void FatalException(string message, Exception exception, params object[] args)
        {
            var logline = LogLineFormatter.LogLine("fatal", message, exception, args);

            Write(logline);
        }
Beispiel #6
0
        public void Fatal(string message, params object[] args)
        {
            var logline = LogLineFormatter.LogLine("fatal", message, null, args);

            Write(logline);
        }
Beispiel #7
0
        public void Error(string message, params object[] args)
        {
            var logline = LogLineFormatter.LogLine("error", message, null, args);

            Write(logline);
        }
Beispiel #8
0
        public void Trace(string message, params object[] args)
        {
            var logline = LogLineFormatter.LogLine("trace", message, null, args);

            Write(logline);
        }