C# Class DotLog.LogExtensions

显示文件 Open project: subfuzion/dotlog

Public Methods

Method Description
LogCritical ( this logger, string message, string category = null ) : LogEntry
LogError ( this logger, string message, string category = null ) : LogEntry
LogInformation ( this logger, string message, string category = null ) : LogEntry
LogVerbose ( this logger, string message, string category = null ) : LogEntry
LogWarning ( this logger, string message, string category = null ) : LogEntry

Method Details

LogCritical() public static method

public static LogCritical ( this logger, string message, string category = null ) : LogEntry
logger this
message string
category string
return LogEntry

LogError() public static method

public static LogError ( this logger, string message, string category = null ) : LogEntry
logger this
message string
category string
return LogEntry

LogInformation() public static method

public static LogInformation ( this logger, string message, string category = null ) : LogEntry
logger this
message string
category string
return LogEntry

LogVerbose() public static method

public static LogVerbose ( this logger, string message, string category = null ) : LogEntry
logger this
message string
category string
return LogEntry

LogWarning() public static method

public static LogWarning ( this logger, string message, string category = null ) : LogEntry
logger this
message string
category string
return LogEntry