C# 클래스 Centreon_EventLog_2_Syslog.Debug

Write debug informations into log file
파일 보기 프로젝트 열기: centreon/centreon-E2S

공개 메소드들

메소드 설명
Debug ( String fileName, DebugInformations &debInf ) : System

Constructor

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

Write error into log file

비공개 메소드들

메소드 설명
rotateFile ( ) : void

Make rotation of debug file

메소드 상세

Debug() 공개 메소드

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
리턴 System

Write() 공개 메소드

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
리턴 System.Boolean