Skip to content

Class CrashReport

Namespace: Apogee.Core.Diagnostics
Assembly: Apogee.Core.dll

The text of a crash report. is a pure function; decides when to write one and where.

public static class CrashReport

Inheritance

object ← CrashReport

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

string

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 , which has no exception to show.

lastLines IReadOnlyList<string>

context IReadOnlyDictionary<string, string>

time DateTimeOffset

Returns

string