C# 클래스 Geowigo.Utils.DebugUtils

파일 보기 프로젝트 열기: WFoundation/WF.Player.WinPhone 1 사용 예제들

공개 메소드들

메소드 설명
AddBugSenseCrashExtraData ( WF cart ) : void

Adds an extra data to BugSense describing a cartridge.

ClearBugSenseCrashExtraData ( ) : void

Removes all extra data currently associated to the BugSense instance.

ClearCache ( ) : void

Removes all files from the log and dump cache.

DumpData ( byte data, Exception ex ) : void

Dumps an exception and data to the isolated storage.

DumpData ( byte data, string message ) : void

Dumps a message and data to the isolated storage.

DumpException ( Exception ex, string customMessage = null, bool dumpOnBugSenseToo = false ) : void

Dumps an exception to the isolated storage and on BugSense.

GetDebugReportFileCount ( bool includeRawData = false ) : int

Gets how many files are involved in the debug report.

GetVersion ( ) : string

Returns the declared version of this app.

Log ( string logName, string message ) : void

Logs a message in a previously created log session.

MakeDebugReport ( bool includeRawData = false ) : BugReport

Compiles all generated debug file into one string.

NewLogSession ( string logName ) : void

Creates a new log session for a particular name.

비공개 메소드들

메소드 설명
DumpException ( AggregateException ex, StreamWriter sw, string header ) : void
DumpException ( Exception ex, StreamWriter sw, string header ) : void
DumpStack ( StreamWriter sw ) : void
GetDebugFiles ( IsolatedStorageFile isf, bool includeRawData ) : IEnumerable

메소드 상세

AddBugSenseCrashExtraData() 공개 정적인 메소드

Adds an extra data to BugSense describing a cartridge.
public static AddBugSenseCrashExtraData ( WF cart ) : void
cart WF
리턴 void

ClearBugSenseCrashExtraData() 공개 정적인 메소드

Removes all extra data currently associated to the BugSense instance.
public static ClearBugSenseCrashExtraData ( ) : void
리턴 void

ClearCache() 공개 정적인 메소드

Removes all files from the log and dump cache.
public static ClearCache ( ) : void
리턴 void

DumpData() 공개 정적인 메소드

Dumps an exception and data to the isolated storage.
public static DumpData ( byte data, Exception ex ) : void
data byte
ex System.Exception
리턴 void

DumpData() 공개 정적인 메소드

Dumps a message and data to the isolated storage.
public static DumpData ( byte data, string message ) : void
data byte
message string
리턴 void

DumpException() 공개 정적인 메소드

Dumps an exception to the isolated storage and on BugSense.
public static DumpException ( Exception ex, string customMessage = null, bool dumpOnBugSenseToo = false ) : void
ex System.Exception
customMessage string
dumpOnBugSenseToo bool
리턴 void

GetDebugReportFileCount() 공개 정적인 메소드

Gets how many files are involved in the debug report.
public static GetDebugReportFileCount ( bool includeRawData = false ) : int
includeRawData bool
리턴 int

GetVersion() 공개 정적인 메소드

Returns the declared version of this app.
public static GetVersion ( ) : string
리턴 string

Log() 공개 정적인 메소드

Logs a message in a previously created log session.
public static Log ( string logName, string message ) : void
logName string
message string
리턴 void

MakeDebugReport() 공개 정적인 메소드

Compiles all generated debug file into one string.
public static MakeDebugReport ( bool includeRawData = false ) : BugReport
includeRawData bool
리턴 BugReport

NewLogSession() 공개 정적인 메소드

Creates a new log session for a particular name.
public static NewLogSession ( string logName ) : void
logName string
리턴 void