C# Class FileFind.Meshwork.LoggingService

Mostrar archivo Open project: codebutler/meshwork

Public Methods

Method Description
AddLogger ( ILogger logger ) : void
GetLogger ( string name ) : ILogger
IsLevelEnabled ( LogLevel level ) : bool
Log ( LogLevel level, string message ) : void
LogDebug ( string message ) : void
LogDebug ( string message, Exception ex ) : void
LogError ( Exception ex ) : void
LogError ( string message ) : void
LogError ( string message, Exception ex ) : void
LogFatalError ( string message ) : void
LogFatalError ( string message, Exception ex ) : void
LogInfo ( string message ) : void
LogInfo ( string message, Exception ex ) : void
LogWarning ( string message ) : void
LogWarning ( string message, Exception ex ) : void
RemoveLogger ( string name ) : void

Private Methods

Method Description
LoggingService ( ) : System

Method Details

AddLogger() public static method

public static AddLogger ( ILogger logger ) : void
logger ILogger
return void

GetLogger() public static method

public static GetLogger ( string name ) : ILogger
name string
return ILogger

IsLevelEnabled() public static method

public static IsLevelEnabled ( LogLevel level ) : bool
level LogLevel
return bool

Log() public static method

public static Log ( LogLevel level, string message ) : void
level LogLevel
message string
return void

LogDebug() public static method

public static LogDebug ( string message ) : void
message string
return void

LogDebug() public static method

public static LogDebug ( string message, Exception ex ) : void
message string
ex System.Exception
return void

LogError() public static method

public static LogError ( Exception ex ) : void
ex System.Exception
return void

LogError() public static method

public static LogError ( string message ) : void
message string
return void

LogError() public static method

public static LogError ( string message, Exception ex ) : void
message string
ex System.Exception
return void

LogFatalError() public static method

public static LogFatalError ( string message ) : void
message string
return void

LogFatalError() public static method

public static LogFatalError ( string message, Exception ex ) : void
message string
ex System.Exception
return void

LogInfo() public static method

public static LogInfo ( string message ) : void
message string
return void

LogInfo() public static method

public static LogInfo ( string message, Exception ex ) : void
message string
ex System.Exception
return void

LogWarning() public static method

public static LogWarning ( string message ) : void
message string
return void

LogWarning() public static method

public static LogWarning ( string message, Exception ex ) : void
message string
ex System.Exception
return void

RemoveLogger() public static method

public static RemoveLogger ( string name ) : void
name string
return void