Beispiel #1
0
        public static void Write(Exception ex, string format, params object[] parameters)
        {
            var lex = new ExceptionWrapper(string.Format(format, parameters), ex);

            Write(lex);
        }
Beispiel #2
0
        public static void Write(ErrorLevel errorLevel, string message)
        {
            var lex = new ExceptionWrapper(errorLevel.ToString(), new Exception(message));

            Write(lex);
        }
Beispiel #3
0
        public static void Write(string format, params object[] parameters)
        {
            var lex = new ExceptionWrapper(string.Format(format, parameters), new StackTrace(1, true));

            Write(lex);
        }