Skip to main content

@rbxts/rlog > LogLevel

LogLevel enum

Enum representing the various log levels, or "importance" of a LogEntry.

Signature:

export declare enum LogLevel 

Enumeration Members

Member

Value

Description

VERBOSE

0

The lowest level of logging.

Verbose messages are those that are not usually useful unless you need to see deep step-by-step processes in your application.

DEBUG

1

The second lowest level of logging.

Generally used for messages that you don't necessarily need to see at runtime, but they're useful when you need to find out why something is happening.

INFO

2

The baseline level of logging.

Useful for messages that signify an event or interaction. Usually occur only once or twice in a control flow, and are used less for debugging, and more for seeing what's going on in your application.

WARNING

3

Not as bad as an ERROR, but something that you should be looked at.

Useful for situations where something isn't necessarily breaking, but it's behaving in a way that isn't desired.

ERROR

4

The highest level of logging.

Used to indicate issues or exceptions that broke the application, and need to be fixed.