C# Класс Utilities.Logger.LogEvent

A record in the log.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Args object[]
Computer string
CreateTime System.DateTime
Error System.Exception
Ex System.Exception
FinalMessage string
Level LogLevel
LogType System.Type
Message object
ThreadName string
UserName string

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

Метод Описание
LogEvent ( ) : System

Enable default constructor.

LogEvent ( LogLevel level, string message, Exception ex ) : System

Initialize log event using loglevel, errorMessage and exception

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

LogEvent() публичный Метод

Enable default constructor.
public LogEvent ( ) : System
Результат System

LogEvent() публичный Метод

Initialize log event using loglevel, errorMessage and exception
public LogEvent ( LogLevel level, string message, Exception ex ) : System
level LogLevel Event log level.
message string
ex System.Exception Exception to log.
Результат System

Описание свойств

Args публичное свойство

Additional arguments passed by caller.
public object[] Args
Результат object[]

Computer публичное свойство

Name of the computer.
public string Computer
Результат string

CreateTime публичное свойство

Create time.
public DateTime,System CreateTime
Результат System.DateTime

Error публичное свойство

Exception passed.
public Exception,System Error
Результат System.Exception

Ex публичное свойство

The exception.
public Exception,System Ex
Результат System.Exception

FinalMessage публичное свойство

This is the final errorMessage that is printed.
public string FinalMessage
Результат string

Level публичное свойство

The log level.
public LogLevel Level
Результат LogLevel

LogType публичное свойство

The data type of the caller that is logging the event.
public Type,System LogType
Результат System.Type

Message публичное свойство

Message that is logged.
public object Message
Результат object

ThreadName публичное свойство

The name of the currently executing thread that created this log entry.
public string ThreadName
Результат string

UserName публичное свойство

Name of the user.
public string UserName
Результат string