C# Class Adf.Core.Logging.LogManager

Represents manager for logging a message or System.Exception. Provides methods for logging message or System.Exceptions.
Datei anzeigen Open project: NLADP/ADF

Private Properties

Property Type Description
GetCurrentUser IUser

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 LogLevel and user information.

Private Methods

Method Description
GetCurrentUser ( ) : IUser

Method Details

Log() public static method

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

Log() public static method

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

Log() public static method

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