C# Class XLog.Logger

Show file Open project: Belorus/XLog

Public Properties

Property Type Description
Tag string

Public Methods

Method Description
Debug ( long category, string message, Exception ex = null ) : void
Debug ( string message, Exception ex = null ) : void
Error ( long category, string message, Exception ex = null ) : void
Error ( string message, Exception ex = null ) : void
Fatal ( long category, string message, Exception ex = null ) : void
Fatal ( string message, Exception ex = null ) : void
Info ( long category, string message, Exception ex = null ) : void
Info ( string message, Exception ex = null ) : void
IsEnabled ( LogLevel logLevel ) : bool
IsLevelEnabled ( LogLevel level ) : bool
Log ( LogLevel logLevel, long category, string message, Exception ex = null ) : void
Log ( LogLevel logLevel, string message, Exception ex = null ) : void
Trace ( long category, string message, Exception ex = null ) : void
Trace ( string message, Exception ex = null ) : void
Warn ( long category, string message, Exception ex = null ) : void
Warn ( string message, Exception ex = null ) : void

Private Methods

Method Description
LogInternal ( LogLevel logLevel, string message, long category, Exception ex ) : void
Logger ( string tag, LogConfig config ) : System

Method Details

Debug() public method

public Debug ( long category, string message, Exception ex = null ) : void
category long
message string
ex System.Exception
return void

Debug() public method

public Debug ( string message, Exception ex = null ) : void
message string
ex System.Exception
return void

Error() public method

public Error ( long category, string message, Exception ex = null ) : void
category long
message string
ex System.Exception
return void

Error() public method

public Error ( string message, Exception ex = null ) : void
message string
ex System.Exception
return void

Fatal() public method

public Fatal ( long category, string message, Exception ex = null ) : void
category long
message string
ex System.Exception
return void

Fatal() public method

public Fatal ( string message, Exception ex = null ) : void
message string
ex System.Exception
return void

Info() public method

public Info ( long category, string message, Exception ex = null ) : void
category long
message string
ex System.Exception
return void

Info() public method

public Info ( string message, Exception ex = null ) : void
message string
ex System.Exception
return void

IsEnabled() public method

public IsEnabled ( LogLevel logLevel ) : bool
logLevel LogLevel
return bool

IsLevelEnabled() public method

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

Log() public method

public Log ( LogLevel logLevel, long category, string message, Exception ex = null ) : void
logLevel LogLevel
category long
message string
ex System.Exception
return void

Log() public method

public Log ( LogLevel logLevel, string message, Exception ex = null ) : void
logLevel LogLevel
message string
ex System.Exception
return void

Trace() public method

public Trace ( long category, string message, Exception ex = null ) : void
category long
message string
ex System.Exception
return void

Trace() public method

public Trace ( string message, Exception ex = null ) : void
message string
ex System.Exception
return void

Warn() public method

public Warn ( long category, string message, Exception ex = null ) : void
category long
message string
ex System.Exception
return void

Warn() public method

public Warn ( string message, Exception ex = null ) : void
message string
ex System.Exception
return void

Property Details

Tag public property

public string Tag
return string