Skip to main content

@rbxts/rlog > LogEntry

LogEntry interface

A single logging event.

Signature:

export interface LogEntry 

Remarks

Each message has its own instance of this, with relevant data attached.

Properties

Property

Modifiers

Type

Description

config

Writable<RLogConfig>

A Writable version of the config that was used when sending the log entry.

context?

LogContext

(Optional) The context used when sending the log, if there was one present at all.

data

LogData

Additional data associated with the log entry.

encoded_data

LogData

Additional data associated with the log entry, encoded to be presentable in the roblox console.

level

LogLevel

The log level of the entry.

message

string

The message associated with the log entry.

source_metadata

SourceMetadata

Metadata detailing where in the source this log occurred.

timestamp

number

The epoch milliseconds in which the log occurred.