C# Class AccidentalFish.ApplicationSupport.Core.Logging.Implementation.TraceLogger

Logger that writes to the diagnostic tracer
Inheritance: ILogger
ファイルを表示 Open project: JamesRandall/AccidentalFish.ApplicationSupport

Public Methods

Method Description
Debug ( string message ) : void

Log a debug message

Debug ( string message, Exception exception ) : void

Log a debug message

Error ( string message ) : void

Log an error message

Error ( string message, Exception exception ) : void

Log a error message

Fatal ( string message ) : void

Log an error message

Fatal ( string message, Exception exception ) : void

Log a error message

Information ( string message ) : void

Log an informational message

Information ( string message, Exception exception ) : void

Log an informational message

Log ( LogLevelEnum level, string message ) : void

Log a message at the specified level

Log ( LogLevelEnum level, string message, Exception exception ) : void

Log a message at the specified level

TraceLogger ( IFullyQualifiedName source, LogLevelEnum minimumLogLevel ) : System

Constructor

Verbose ( string message ) : void

Log a debug message

Verbose ( string message, Exception exception ) : void

Log a debug message

Warning ( string message ) : void

Log a warning message

Warning ( string message, Exception exception ) : void

Log a warning message

Private Methods

Method Description
Write ( LogLevelEnum level, string text ) : void

Method Details

Debug() public method

Log a debug message
public Debug ( string message ) : void
message string The message to log
return void

Debug() public method

Log a debug message
public Debug ( string message, Exception exception ) : void
message string The message to log
exception System.Exception An exception to log
return void

Error() public method

Log an error message
public Error ( string message ) : void
message string The message to log
return void

Error() public method

Log a error message
public Error ( string message, Exception exception ) : void
message string The message to log
exception System.Exception An exception to log
return void

Fatal() public method

Log an error message
public Fatal ( string message ) : void
message string The message to log
return void

Fatal() public method

Log a error message
public Fatal ( string message, Exception exception ) : void
message string The message to log
exception System.Exception An exception to log
return void

Information() public method

Log an informational message
public Information ( string message ) : void
message string The message to log
return void

Information() public method

Log an informational message
public Information ( string message, Exception exception ) : void
message string The message to log
exception System.Exception An exception to log
return void

Log() public method

Log a message at the specified level
public Log ( LogLevelEnum level, string message ) : void
level LogLevelEnum The level to log at
message string The message to log
return void

Log() public method

Log a message at the specified level
public Log ( LogLevelEnum level, string message, Exception exception ) : void
level LogLevelEnum The level to log at
message string The message to log
exception System.Exception An exception to log
return void

TraceLogger() public method

Constructor
public TraceLogger ( IFullyQualifiedName source, LogLevelEnum minimumLogLevel ) : System
source IFullyQualifiedName
minimumLogLevel LogLevelEnum
return System

Verbose() public method

Log a debug message
public Verbose ( string message ) : void
message string The message to log
return void

Verbose() public method

Log a debug message
public Verbose ( string message, Exception exception ) : void
message string The message to log
exception System.Exception An exception to log
return void

Warning() public method

Log a warning message
public Warning ( string message ) : void
message string The message to log
return void

Warning() public method

Log a warning message
public Warning ( string message, Exception exception ) : void
message string The message to log
exception System.Exception An exception to log
return void