Scripting API
Scripting API
LogEntry
Record in Abyss.Core, from Abyss.Core.
One thing that was said.
public record LogEntryConstructors
LogEntry
public LogEntry(long Sequence, LogSeverity Severity, DateTimeOffset Time, string Source, string Message)One thing that was said.
Parameters
Sequence: Its place in the stream, counting from one. Never reused.Severity: How serious it is.Time: When it was said.Source: Who said it: the Rust module a message of Bevy's or a library's came from —bevy_asset::server— or the name a writer gave, which isLog.Gamefor a script's.Message: What was said, with any fields it carried after it asname=value.
Properties
Sequence
public long Sequence { get; init; }Its place in the stream, counting from one. Never reused.
Severity
public LogSeverity Severity { get; init; }How serious it is.
Time
public DateTimeOffset Time { get; init; }When it was said.
Source
public string Source { get; init; }Who said it: the Rust module a message of Bevy's or a library's came from — bevy_asset::server — or the name a writer gave, which is Log.Game for a script's.
Message
public string Message { get; init; }What was said, with any fields it carried after it as name=value.
