C# Класс Geowigo.Utils.DebugUtils

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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