Represents a single console message.
public struct Log.MessageMembers at a glance
| Kind | Members |
|---|---|
| Properties | LogLevel · ScriptId · Tag · Text · TimeStamp |
| Methods | ToString |
Properties
LogLevel
Deprecated
[System.Obsolete("Messages are no longer stored.", true)]
[get: System.Runtime.CompilerServices.IsReadOnly]
public LogLevel LogLevel { get; }Message severity for filtering.
ScriptId
Deprecated
[System.Obsolete("Messages are no longer stored.", true)]
[get: System.Runtime.CompilerServices.IsReadOnly]
public ScriptId ScriptId { get; }Source script id.
Value: ScriptId — The ScriptId of the source of the message.
Tag
Deprecated
[System.Obsolete("Messages are no longer stored.", true)]
[get: System.Runtime.CompilerServices.IsReadOnly]
public string Tag { get; }Free form tag which can be used to filter messages.
Value: string — The tag of the message.
Text
Deprecated
[System.Obsolete("Messages are no longer stored.", true)]
[get: System.Runtime.CompilerServices.IsReadOnly]
public string Text { get; }The text of the message.
Value: string — The text of the message.
TimeStamp
Deprecated
[System.Obsolete("Messages are no longer stored.", true)]
public DateTime TimeStamp { get; }Time the message was written.
Value: DateTime — The timestamp of the message.
Methods
ToString
public override string ToString()String representation of the message.
Returns: string — String representation of the message.
Used in examples
- StatsExample.cs
- VisitorTrackerExample.cs
- AgentGravityExample.cs
- AgentScaleExample.cs
- BanHammerExample.cs
CameraShakeExample.csColorLutExample.cs- CommandExample.cs
- DataStoreExample.cs
- GravityExample.cs
- MediaOverrideExample.cs
- MemoryExample.cs
…and 12 more examples in the snapshot.
Generated from the Sansar 47.10.0 client ScriptApi snapshot.