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