C# Class DotLog.Logger

An instance of this logger will write the formatted output of the Log method to the supplied log action.
Inheritance: ILogger
ファイルを表示 Open project: subfuzion/dotlog

Public Methods

Method Description
Log ( string message, LogLevel logLevel = LogLevel.Verbose, string category = null ) : LogEntry

Write the log entry to the output destination.

Logger ( Action logAction, LogLevel logLevel = DefaultLogLevel ) : System
Logger ( LogLevel logLevel = LogLevel.Verbose ) : System

Method Details

Log() public method

Write the log entry to the output destination.
public Log ( string message, LogLevel logLevel = LogLevel.Verbose, string category = null ) : LogEntry
message string Must not be null or empty
logLevel LogLevel
category string
return LogEntry

Logger() public method

public Logger ( Action logAction, LogLevel logLevel = DefaultLogLevel ) : System
logAction Action
logLevel LogLevel
return System

Logger() public method

public Logger ( LogLevel logLevel = LogLevel.Verbose ) : System
logLevel LogLevel
return System