C# 클래스 Support.ExceptionHandler

Implements exception information logging.
파일 보기 프로젝트 열기: sgrebnov/IeMobileDebugger

공개 메소드들

메소드 설명
Log ( Exception ex ) : void

Saves exception occurred to log.

Log ( string message ) : void

Saves string message to log

LogAndNotify ( Exception ex ) : void

Saves exception occurred to log and then shows exception message to user.

LogAndNotify ( string message ) : void

Saves string message to log and then shows message to user

비공개 메소드들

메소드 설명
DataToFile ( string data ) : void

Implements logic to save some data to log file. If logging fails then it saves exception to event log (Application section).

ExceptionHandler ( ) : System

Initializes static members of the ExceptionHandler class.

메소드 상세

Log() 공개 정적인 메소드

Saves exception occurred to log.
public static Log ( Exception ex ) : void
ex System.Exception Exception to save information about
리턴 void

Log() 공개 정적인 메소드

Saves string message to log
public static Log ( string message ) : void
message string Message to put into log
리턴 void

LogAndNotify() 공개 정적인 메소드

Saves exception occurred to log and then shows exception message to user.
public static LogAndNotify ( Exception ex ) : void
ex System.Exception Exception to save information about
리턴 void

LogAndNotify() 공개 정적인 메소드

Saves string message to log and then shows message to user
public static LogAndNotify ( string message ) : void
message string Message to put into log
리턴 void