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

            System.Diagnostics.Trace.TraceInformation(logline);
        }
Example #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);
        }
Example #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);
        }
Example #4
0
        public void Error(string message, params object[] args)
        {
            var logline = LogLineFormatter.LogLine("error", message, null, args);

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

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

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

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

            Write(logline);
        }