C# Class ProtoZBuffer.Utils.Logger

Afficher le fichier Open project: CAST-projects/ProtoZBuffer

Private Properties

Свойство Type Description
Logger log4net

Méthodes publiques

Méthode 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

Méthode Description
Logger ( ) : log4net

Method Details

Error() public static méthode

Write an error message in the log
public static Error ( string message ) : void
message string message
Résultat void

Fatal() public static méthode

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

Info() public static méthode

Write an information message in the log
public static Info ( string message ) : void
message string message
Résultat void

Warning() public static méthode

Write a warning message in the log
public static Warning ( string message ) : void
message string message
Résultat void