C# Class Adf.Base.Logging.DebugLogProvider

Represents logger for logging debug related message or System.Exception. Provides methods to log debug related message or System.Exception.
Inheritance: ILogProvider
Datei anzeigen Open project: NLADP/ADF

Public Methods

Method Description
Log ( Exception exception, IUser user = null ) : void

Logs the specified System.Exception with the specified user information.

Log ( LogLevel level, string message, IUser user = null ) : void

Logs the specified message with the specified LogLevel and user information.

Log ( string message, IUser user = null ) : void

Logs the specified message with the specified user information and the default LogLevel set at Warming.

Method Details

Log() public method

Logs the specified System.Exception with the specified user information.
public Log ( Exception exception, IUser user = null ) : void
exception System.Exception The to log.
user IUser The user information to log.
return void

Log() public method

Logs the specified message with the specified LogLevel and user information.
public Log ( LogLevel level, string message, IUser user = null ) : void
level Adf.Core.Logging.LogLevel The to log.
message string The message to log.
user IUser The user information to log.
return void

Log() public method

Logs the specified message with the specified user information and the default LogLevel set at Warming.
public Log ( string message, IUser user = null ) : void
message string The message to log.
user IUser The user information to log.
return void