C# Class Adf.Core.Logging.LogManager

Represents manager for logging a message or System.Exception. Provides methods for logging message or System.Exceptions.
Afficher le fichier Open project: NLADP/ADF

Private Properties

Свойство Type Description
GetCurrentUser IUser

Méthodes publiques

Méthode 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

Méthode Description
GetCurrentUser ( ) : IUser

Method Details

Log() public static méthode

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.
Résultat void

Log() public static méthode

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.
Résultat void

Log() public static méthode

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.
Résultat void