Example #1
0
        public void CanLogFatalMessageWithException()
        {
            var logger = new NLogLoggerFactory().GetCurrentInstanceLogger();

            logger.Fatal("log: {0}", "can_log_fatal_message_with_exception", new Exception("log exception"));
        }
Example #2
0
        public void CanLogFatalMessage()
        {
            var logger = new NLogLoggerFactory().GetCurrentInstanceLogger();

            logger.Fatal("log: {0}", "can_log_fatal_message");
        }