C# Class ProtoZBuffer.Utils.Logger

Show file Open project: CAST-projects/ProtoZBuffer

Private Properties

Property Type Description
Logger log4net

Public Methods

Method Description
Error ( string message ) : void

Write an error message in the log

Fatal ( string message ) : void

Throw an exception to force the program to stop

Info ( string message ) : void

Write an information message in the log

Warning ( string message ) : void

Write a warning message in the log

Private Methods

Method Description
Logger ( ) : log4net

Method Details

Error() public static method

Write an error message in the log
public static Error ( string message ) : void
message string message
return void

Fatal() public static method

Throw an exception to force the program to stop
public static Fatal ( string message ) : void
message string message
return void

Info() public static method

Write an information message in the log
public static Info ( string message ) : void
message string message
return void

Warning() public static method

Write a warning message in the log
public static Warning ( string message ) : void
message string message
return void