C# 클래스 BSky.Statistics.Common.Log

A logging class for logging data to the Windows Event Log and a log file.
파일 보기 프로젝트 열기: BlueSkyStatistics/BlueSkyRepository

공개 메소드들

메소드 설명
DebugInfo ( string description ) : void

Logs debugging events.

DebugInfo ( string description, Exception exception ) : void

Logs debugging events.

ErrorEvent ( string description ) : void
ErrorEvent ( string description, Exception exception ) : void

Logs warning events.

InformationEvent ( string format ) : void

Logs informational events to the logfile.

WarningEvent ( string description ) : void

Logs warning events.

WarningEvent ( string description, Exception exception ) : void

Logs warning events.

비공개 메소드들

메소드 설명
ExceptionToString ( Exception exception ) : string
GetCallerName ( ) : string

Returns function name in call stack

TraceEnter ( ) : void
TraceExit ( ) : void
TraceExit ( object retval ) : void
WriteEvent ( TraceEventType eventType, int id, string format ) : void

메소드 상세

DebugInfo() 공개 정적인 메소드

Logs debugging events.
public static DebugInfo ( string description ) : void
description string
리턴 void

DebugInfo() 공개 정적인 메소드

Logs debugging events.
public static DebugInfo ( string description, Exception exception ) : void
description string
exception System.Exception
리턴 void

ErrorEvent() 공개 정적인 메소드

public static ErrorEvent ( string description ) : void
description string
리턴 void

ErrorEvent() 공개 정적인 메소드

Logs warning events.
public static ErrorEvent ( string description, Exception exception ) : void
description string
exception System.Exception
리턴 void

InformationEvent() 공개 정적인 메소드

Logs informational events to the logfile.
public static InformationEvent ( string format ) : void
format string
리턴 void

WarningEvent() 공개 정적인 메소드

Logs warning events.
public static WarningEvent ( string description ) : void
description string
리턴 void

WarningEvent() 공개 정적인 메소드

Logs warning events.
public static WarningEvent ( string description, Exception exception ) : void
description string
exception System.Exception
리턴 void