Struct LogEntry
- Namespace
- Luny
- Assembly
- Luny.dll
Represents a single log entry in the internal Luny logging system. Uses FrameCount and ElapsedSeconds instead of DateTime for precise game-time tracking.
public struct LogEntry
Fields
Context
Context type name that generated this log (e.g., "LunyScriptRunner", "LogMessageBlock").
public string Context
Field Value
- string
ElapsedSeconds
Elapsed time in seconds since application start (from ITimeServiceProvider). -1.0 if time service not available.
public double ElapsedSeconds
Field Value
- double
FrameCount
Frame number when this log entry was created (from ITimeServiceProvider). -1 if time service not available.
public long FrameCount
Field Value
- long
Level
Severity level of the log message.
public LogLevel Level
Field Value
Message
The log message content.
public string Message
Field Value
- string
Methods
ToString()
public override string ToString()
Returns
- string