Skip to main content

@rbxts/rlog > RobloxConsoleSinkConfig

RobloxConsoleSinkConfig interface

Configuration options for robloxConsoleSink().

Signature:

export interface RobloxConsoleSinkConfig 

Properties

Property

Modifiers

Type

Description

disable?

readonly

boolean

(Optional) Completely disable sending messages to the roblox console.

Can be used for quick toggling in debug or conditionally toggling the roblox console.

formatMethod?

readonly

FormatMethodCallback

(Optional) Optional method to convert log entries to output.

minLogLevel?

readonly

LogLevel

(Optional) The minimum LogLevel to send through to the roblox console.

Any logs with a level below this will not be sent to the roblox console, but will still be sent to other sinks.

outputMethod?

readonly

OutputMethodCallback

(Optional) Optional method to send output to the roblox console.

By default, logs above LogLevel.WARNING will be sent through warn, and the rest through print.