Skip to content

Get Sansar

Script API

Log.Message

Where: Client
More page actions

For the complete documentation index, see llms.txt. This page is also available as Markdown.

Struct Namespace Sansar.Script

Represents a single console message.

public struct Log.Message

Members at a glance

KindMembers
PropertiesLogLevel · ScriptId · Tag · Text · TimeStamp
MethodsToString

Properties

LogLevel

Deprecated
[System.Obsolete("Messages are no longer stored.", true)] [get: System.Runtime.CompilerServices.IsReadOnly] public LogLevel LogLevel { get; }

Message severity for filtering.

Value: LogLevel — The LogLevel of the message.

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

…and 12 more examples in the snapshot.

Generated from the Sansar 47.10.0 client ScriptApi snapshot.