C# Класс Adf.Core.Logging.LogManager

Represents manager for logging a message or System.Exception. Provides methods for logging message or System.Exceptions.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
GetCurrentUser IUser

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetCurrentUser ( ) : IUser

Описание методов

Log() публичный статический Метод

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.
Результат void

Log() публичный статический Метод

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.
Результат void

Log() публичный статический Метод

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.
Результат void