log2console {tryCatchLog}R 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")


[Package tryCatchLog version 1.3.1 Index]