C# Class Centreon_EventLog_2_Syslog.Debug

Write debug informations into log file
Afficher le fichier Open project: centreon/centreon-E2S

Méthodes publiques

Méthode Description
Debug ( String fileName, DebugInformations &debInf ) : System

Constructor

Write ( String processName, String line, System.DateTime dtError, int errorLevel ) : System.Boolean

Write error into log file

Private Methods

Méthode Description
rotateFile ( ) : void

Make rotation of debug file

Method Details

Debug() public méthode

Constructor
public Debug ( String fileName, DebugInformations &debInf ) : System
fileName String Path and file name of log
debInf DebugInformations Debug informations includng level, verbose, rotation information
Résultat System

Write() public méthode

Write error into log file
public Write ( String processName, String line, System.DateTime dtError, int errorLevel ) : System.Boolean
processName String Name of the process which wants to write error
line String Error to write
dtError System.DateTime DateTime when of error
errorLevel int
Résultat System.Boolean