C# Class Guidelines.Core.LogPortal

Show file Open project: basicdays/Guidelines

Public Methods

Method Description
Debug ( string message ) : void
Debug ( string message, Exception exception ) : void
Error ( string message ) : void
Error ( string message, Exception exception ) : void
Fatal ( string message ) : void
Fatal ( string message, Exception exception ) : void
SetLogger ( ILogger logger ) : void
Warning ( string message ) : void
Warning ( string message, Exception exception ) : void

Private Methods

Method Description
LogMessage ( Action logFunction ) : void

Method Details

Debug() public static method

public static Debug ( string message ) : void
message string
return void

Debug() public static method

public static Debug ( string message, Exception exception ) : void
message string
exception System.Exception
return void

Error() public static method

public static Error ( string message ) : void
message string
return void

Error() public static method

public static Error ( string message, Exception exception ) : void
message string
exception System.Exception
return void

Fatal() public static method

public static Fatal ( string message ) : void
message string
return void

Fatal() public static method

public static Fatal ( string message, Exception exception ) : void
message string
exception System.Exception
return void

SetLogger() public static method

public static SetLogger ( ILogger logger ) : void
logger ILogger
return void

Warning() public static method

public static Warning ( string message ) : void
message string
return void

Warning() public static method

public static Warning ( string message, Exception exception ) : void
message string
exception System.Exception
return void