C# Class Codaxy.Common.Logging.LoggerExtensions

Exibir arquivo Open project: codaxy/common

Public Methods

Method 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

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

Method Details

ChildLogger() public static method

public static ChildLogger ( this logger, String childLoggerName ) : Logger
logger this
childLoggerName String
return Logger

Error() public static method

public static Error ( this logger, string message ) : void
logger this
message string
return void

Error() public static method

public static Error ( this logger, string message, String stackTrace ) : void
logger this
message string
stackTrace String
return void

ErrorFormat() public static method

public static ErrorFormat ( this logger, string format ) : void
logger this
format string
return void

Exception() public static method

public static Exception ( this logger, Exception ex ) : void
logger this
ex System.Exception
return void

Exception() public static method

public static Exception ( this logger, String message, Exception ex ) : void
logger this
message String
ex System.Exception
return void

GetExceptionMessage() public static method

public static GetExceptionMessage ( String message, Exception ex ) : LogMessage
message String
ex System.Exception
return LogMessage

Info() public static method

public static Info ( this logger, string message ) : void
logger this
message string
return void

InfoFormat() public static method

public static InfoFormat ( this logger, string format ) : void
logger this
format string
return void

LogMessage() public static method

public static LogMessage ( this logger, LogMessage lm ) : void
logger this
lm LogMessage
return void

Trace() public static method

public static Trace ( this logger, string message ) : void
logger this
message string
return void

TraceFormat() public static method

public static TraceFormat ( this logger, string format ) : void
logger this
format string
return void

Warning() public static method

public static Warning ( this logger, string message ) : void
logger this
message string
return void

WarningFormat() public static method

public static WarningFormat ( this logger, string format ) : void
logger this
format string
return void