C# Class Adf.Base.Logging.EventLogProvider

Inheritance: ILogProvider
Datei anzeigen Open project: NLADP/ADF

Public Methods

Method Description
EventLogProvider ( ) : System
Log ( Exception exception, IUser user ) : void

Logs the specified System.Exception and the user information.

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

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

Log ( string message, IUser user ) : void

Logs the specified message and the user information.

Private Methods

Method Description
IsAllowed ( LogLevel level ) : bool

Method Details

EventLogProvider() public method

public EventLogProvider ( ) : System
return System

Log() public method

Logs the specified System.Exception and the user information.
public Log ( Exception exception, IUser user ) : 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 ) : void
level Adf.Core.Logging.LogLevel The loglevel to log.
message string The message to log.
user IUser The user information to log.
return void

Log() public method

Logs the specified message and the user information.
public Log ( string message, IUser user ) : void
message string The message to log.
user IUser The user information to log.
return void