Learn R Programming

stenographer (version 1.0.0)

LogLevel: Logging Level

Description

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

Arguments

Format

An object of class list of length 4.

Examples

Run this code
# Check logging levels
LogLevel$OFF     # -1
LogLevel$ERROR   # 0
LogLevel$WARNING # 1
LogLevel$INFO    # 2

Run the code above in your browser using DataLab