C# Class XLogger, WuxingogoExtension

显示文件 Open project: wuxingogo/WuxingogoExtension Class Usage Examples

Public Properties

Property Type Description
EnableLog bool

Public Methods

Method Description
Log ( object message ) : void
Log ( object message, Object context ) : void
LogError ( object message ) : void
LogError ( object message, Object context ) : void
LogErrorFormat ( Object context, string message ) : void
LogFormat ( Object context, string message ) : void
LogFormat ( string message ) : void
LogWarning ( object message ) : void
LogWarning ( object message, Object context ) : void
LogWarningFormat ( Object context, string message ) : void
LogWarningFormat ( string message ) : void

Method Details

Log() public static method

public static Log ( object message ) : void
message object
return void

Log() public static method

public static Log ( object message, Object context ) : void
message object
context Object
return void

LogError() public static method

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

LogError() public static method

public static LogError ( object message, Object context ) : void
message object
context Object
return void

LogErrorFormat() public static method

public static LogErrorFormat ( Object context, string message ) : void
context Object
message string
return void

LogFormat() public static method

public static LogFormat ( Object context, string message ) : void
context Object
message string
return void

LogFormat() public static method

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

LogWarning() public static method

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

LogWarning() public static method

public static LogWarning ( object message, Object context ) : void
message object
context Object
return void

LogWarningFormat() public static method

public static LogWarningFormat ( Object context, string message ) : void
context Object
message string
return void

LogWarningFormat() public static method

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

Property Details

EnableLog public_oe static_oe property

public static bool EnableLog
return bool