Skip to contents

Defines standard logging levels for controlling message output granularity. Use as a configuration for the `Stenographer` class to control which messages are logged.

A list with four integer elements:

OFF

(-1) Disables all logging

ERROR

(0) Logs only errors

WARNING

(1) Logs errors and warnings

INFO

(2) Logs all messages

Usage

LogLevel

Format

An object of class list of length 4.

Examples

# Check logging levels
LogLevel$OFF     # -1
#> [1] -1
LogLevel$ERROR   # 0
#> [1] 0
LogLevel$WARNING # 1
#> [1] 1
LogLevel$INFO    # 2
#> [1] 2