Class CrashReport¶
Namespace: Apogee.Core.Diagnostics
Assembly: Apogee.Core.dll
The text of a crash report.
public static class CrashReport
Inheritance¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Properties¶
EngineVersion¶
The version of the engine: the informational version of Apogee.Core, or unknown.
public static string EngineVersion { get; }
Property Value¶
Methods¶
Build(CrashKind, Exception?, IReadOnlyList<string>, IReadOnlyDictionary<string, string>, DateTimeOffset)¶
The plain text of a report: the kind and the time (UTC), the engine and runtime versions, the machine, context (the game, its version, the GPU, ...), the thread, the exception
with its inner ones, and lastLines of the log.
public static string Build(CrashKind kind, Exception? exception, IReadOnlyList<string> lastLines, IReadOnlyDictionary<string, string> context, DateTimeOffset time)
Parameters¶
kind CrashKind
exception Exception?
Null for an
lastLines IReadOnlyList<string>
context IReadOnlyDictionary<string, string>
time DateTimeOffset