C# Class XLog.Logger

Afficher le fichier Open project: Belorus/XLog

Méthodes publiques

Свойство Type Description
Tag string

Méthodes publiques

Méthode 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

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

Method Details

Debug() public méthode

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

Debug() public méthode

public Debug ( string message, Exception ex = null ) : void
message string
ex System.Exception
Résultat void

Error() public méthode

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

Error() public méthode

public Error ( string message, Exception ex = null ) : void
message string
ex System.Exception
Résultat void

Fatal() public méthode

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

Fatal() public méthode

public Fatal ( string message, Exception ex = null ) : void
message string
ex System.Exception
Résultat void

Info() public méthode

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

Info() public méthode

public Info ( string message, Exception ex = null ) : void
message string
ex System.Exception
Résultat void

IsEnabled() public méthode

public IsEnabled ( LogLevel logLevel ) : bool
logLevel LogLevel
Résultat bool

IsLevelEnabled() public méthode

public IsLevelEnabled ( LogLevel level ) : bool
level LogLevel
Résultat bool

Log() public méthode

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

Log() public méthode

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

Trace() public méthode

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

Trace() public méthode

public Trace ( string message, Exception ex = null ) : void
message string
ex System.Exception
Résultat void

Warn() public méthode

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

Warn() public méthode

public Warn ( string message, Exception ex = null ) : void
message string
ex System.Exception
Résultat void

Property Details

Tag public_oe property

public string Tag
Résultat string