Learn R Programming

MazamaCoreUtils (version 0.6.3)

logLevels: Log levels

Description

Logging level constants used by the MazamaCoreUtils logging API.

Usage

FATAL

Arguments

Format

An object of class integer of length 1.

Details

Available log levels include:


FATAL
ERROR
WARN
INFO
DEBUG
TRACE

These constants are retained for backwards compatibility with the original MazamaCoreUtils logging system.

Examples

Run this code
# Level constants are named integers
c(FATAL, ERROR, WARN, INFO, DEBUG, TRACE)
names(INFO)

# Show INFO and higher messages in the console
logger.setup()
logger.setLevel(INFO)
logger.info("Console logging is now enabled for INFO")

Run the code above in your browser using DataLab