C# 클래스 Utilities.Logger.LogEvent

A record in the log.
파일 보기 프로젝트 열기: feanz/Utilities

공개 프로퍼티들

프로퍼티 타입 설명
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