C# Class CmisSync.Lib.Cmis.DotCMISLogListener

Dot CMIS log listener enables the logging inside of DotCMIS and passes the log messages to log4net.
Inheritance: System.Diagnostics.TraceListener
显示文件 Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

Method Description
DotCMISLogListener ( ) : System

Initializes a new instance of the CmisSync.Lib.Cmis.DotCMISLogListener class.

DotCMISLogListener ( log4net log ) : System

Initializes a new instance of the CmisSync.Lib.Cmis.DotCMISLogListener class.

Write ( string message ) : void

Write the specified message to log4net logger.

WriteLine ( string message ) : void

Writes the line to log4net logger.

Private Methods

Method Description
SetLog4NetLevelToTraceLevel ( ) : void

Method Details

DotCMISLogListener() public method

Initializes a new instance of the CmisSync.Lib.Cmis.DotCMISLogListener class.
public DotCMISLogListener ( ) : System
return System

DotCMISLogListener() public method

Initializes a new instance of the CmisSync.Lib.Cmis.DotCMISLogListener class.
public DotCMISLogListener ( log4net log ) : System
log log4net log4net logger, which should receive the log messages of DotCMIS.
return System

Write() public method

Write the specified message to log4net logger.
public Write ( string message ) : void
message string Message to be written.
return void

WriteLine() public method

Writes the line to log4net logger.
public WriteLine ( string message ) : void
message string Message to be written.
return void