addDefaultConsoleLogger: Add the default console logger

View source: R/Loggers.R

addDefaultConsoleLoggerR Documentation

Add the default console logger

Description

Add the default console logger

Usage

addDefaultConsoleLogger(name = "DEFAULT_CONSOLE_LOGGER")

Arguments

name

A name for the logger.

Details

Creates a logger that writes to the console using the "INFO" threshold and the layoutSimple layout.

Examples

logger <- addDefaultConsoleLogger()
logTrace("This event is below the threshold (INFO)")
logInfo("Hello world")
unregisterLogger(logger)

ParallelLogger documentation built on Sept. 11, 2024, 8:52 p.m.