C# Class Dev2.Common.Dev2Logger

A single common logging location ;)
Exibir arquivo Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Properties

Property Type Description
Log ILog

Public Methods

Method Description
GetLogLevel ( ) : string
GetLogMaxSize ( ) : int
SetLog ( ILog log ) : void
UpdateLoggingConfig ( string level ) : void
WriteLogSettings ( string maxLogSize, string logLevel, string settingsConfigFile ) : void

Method Details

GetLogLevel() public static method

public static GetLogLevel ( ) : string
return string

GetLogMaxSize() public static method

public static GetLogMaxSize ( ) : int
return int

SetLog() public static method

public static SetLog ( ILog log ) : void
log ILog
return void

UpdateLoggingConfig() public static method

public static UpdateLoggingConfig ( string level ) : void
level string
return void

WriteLogSettings() public static method

public static WriteLogSettings ( string maxLogSize, string logLevel, string settingsConfigFile ) : void
maxLogSize string
logLevel string
settingsConfigFile string
return void

Property Details

Log public_oe static_oe property

public static ILog Log
return ILog