예제 #1
0
        public static void Info(string message)
        {
            CheckHelper.IsNotEmpty(message, "message");

            GetLog().Info(message);
        }
예제 #2
0
        private static string Format(string format, params object[] args)
        {
            CheckHelper.IsNotEmpty(format, "format");

            return(string.Format(format, args));
        }
예제 #3
0
        public static void Exception(Exception exception)
        {
            CheckHelper.IsNotNull(exception, "exception");

            GetLog().Exception(exception);
        }
예제 #4
0
        public static void Error(string format, params object[] args)
        {
            CheckHelper.IsNotEmpty(format, "format");

            GetLog().Error(Format(format, args));
        }
예제 #5
0
        public static void Error(string message)
        {
            CheckHelper.IsNotEmpty(message, "message");

            GetLog().Error(message);
        }
예제 #6
0
        public static void Warning(string message)
        {
            CheckHelper.IsNotEmpty(message, "message");

            GetLog().Warning(message);
        }