log2console: Prints a time-stamped log message to the console incl. the...

View source: R/log2console.R

log2consoleR Documentation

Prints a time-stamped log message to the console incl. the severity level

Description

This is a package-internal function.

Usage

log2console(severity.level, msg)

Arguments

severity.level

String containing the severity level (ERROR, WARN or INFO) of the message

msg

The message to be printed (as character).

Value

The log message as it was printed to the console. NA is printed as empty string.

Examples

tryCatchLog:::log2console("WARN", "this is my last warning")


aryoda/tryCatchLog documentation built on Feb. 6, 2023, 1:42 a.m.