C# Class RaumfeldNET.Log.LogWriter

Exibir arquivo Open project: stoennies/raumwiese Class Usage Examples

Public Methods

Method Description
LogWriter ( ) : System
setLogFilePath ( String _logFilePath ) : void
setLogLevel ( LogType _logTypeLevel ) : void
writeLog ( LogType _logType, String _log, Exception _exception = null, Object _additionalInfoObject = null ) : void

Protected Methods

Method Description
buildAdditionalObjectLogFilePathName ( ) : String
buildExceptionLogFilePathName ( ) : String
buildLogFilePathName ( ) : String
isLogTypeLogged ( LogType _logType ) : System.Boolean
writeAdditionalObjectLog ( Object _additionalObject ) : void
writeExceptionLog ( Exception _e ) : void
writeSystemInformation ( StreamWriter _streamWriter ) : void

Method Details

LogWriter() public method

public LogWriter ( ) : System
return System

buildAdditionalObjectLogFilePathName() protected method

protected buildAdditionalObjectLogFilePathName ( ) : String
return String

buildExceptionLogFilePathName() protected method

protected buildExceptionLogFilePathName ( ) : String
return String

buildLogFilePathName() protected method

protected buildLogFilePathName ( ) : String
return String

isLogTypeLogged() protected method

protected isLogTypeLogged ( LogType _logType ) : System.Boolean
_logType LogType
return System.Boolean

setLogFilePath() public method

public setLogFilePath ( String _logFilePath ) : void
_logFilePath String
return void

setLogLevel() public method

public setLogLevel ( LogType _logTypeLevel ) : void
_logTypeLevel LogType
return void

writeAdditionalObjectLog() protected method

protected writeAdditionalObjectLog ( Object _additionalObject ) : void
_additionalObject Object
return void

writeExceptionLog() protected method

protected writeExceptionLog ( Exception _e ) : void
_e System.Exception
return void

writeLog() public method

public writeLog ( LogType _logType, String _log, Exception _exception = null, Object _additionalInfoObject = null ) : void
_logType LogType
_log String
_exception System.Exception
_additionalInfoObject Object
return void

writeSystemInformation() protected method

protected writeSystemInformation ( StreamWriter _streamWriter ) : void
_streamWriter System.IO.StreamWriter
return void