C# Class Codaxy.Common.Logging.LoggerExtensions

Afficher le fichier Open project: codaxy/common

Méthodes publiques

Méthode Description
ChildLogger ( this logger, String childLoggerName ) : Logger
Error ( this logger, string message ) : void
Error ( this logger, string message, String stackTrace ) : void
ErrorFormat ( this logger, string format ) : void
Exception ( this logger, Exception ex ) : void
Exception ( this logger, String message, Exception ex ) : void
GetExceptionMessage ( String message, Exception ex ) : LogMessage
Info ( this logger, string message ) : void
InfoFormat ( this logger, string format ) : void
LogMessage ( this logger, LogMessage lm ) : void
Trace ( this logger, string message ) : void
TraceFormat ( this logger, string format ) : void
Warning ( this logger, string message ) : void
WarningFormat ( this logger, string format ) : void

Private Methods

Méthode Description
Debug ( this logger, string message ) : void
DebugFormat ( this logger, string format ) : void
ExpandStackTrace ( Exception ex ) : string

Method Details

ChildLogger() public static méthode

public static ChildLogger ( this logger, String childLoggerName ) : Logger
logger this
childLoggerName String
Résultat Logger

Error() public static méthode

public static Error ( this logger, string message ) : void
logger this
message string
Résultat void

Error() public static méthode

public static Error ( this logger, string message, String stackTrace ) : void
logger this
message string
stackTrace String
Résultat void

ErrorFormat() public static méthode

public static ErrorFormat ( this logger, string format ) : void
logger this
format string
Résultat void

Exception() public static méthode

public static Exception ( this logger, Exception ex ) : void
logger this
ex System.Exception
Résultat void

Exception() public static méthode

public static Exception ( this logger, String message, Exception ex ) : void
logger this
message String
ex System.Exception
Résultat void

GetExceptionMessage() public static méthode

public static GetExceptionMessage ( String message, Exception ex ) : LogMessage
message String
ex System.Exception
Résultat LogMessage

Info() public static méthode

public static Info ( this logger, string message ) : void
logger this
message string
Résultat void

InfoFormat() public static méthode

public static InfoFormat ( this logger, string format ) : void
logger this
format string
Résultat void

LogMessage() public static méthode

public static LogMessage ( this logger, LogMessage lm ) : void
logger this
lm LogMessage
Résultat void

Trace() public static méthode

public static Trace ( this logger, string message ) : void
logger this
message string
Résultat void

TraceFormat() public static méthode

public static TraceFormat ( this logger, string format ) : void
logger this
format string
Résultat void

Warning() public static méthode

public static Warning ( this logger, string message ) : void
logger this
message string
Résultat void

WarningFormat() public static méthode

public static WarningFormat ( this logger, string format ) : void
logger this
format string
Résultat void