Fatal() public method

Logs the message and exception with fatal level.
public Fatal ( string message, Exception exception ) : void
message string The message.
exception System.Exception The exception.
return void
Beispiel #1
0
        public void WhenCallingFatalShouldEnterFatalMethod()
        {
            ConsoleLogger logger = new ConsoleLogger();

            logger.Fatal("Test String", new Exception());
        }