powered by
This is a package-internal function.
log2console(severity.level, msg)
The log message as it was printed to the console.
NA is printed as empty string.
NA
String containing the severity level (ERROR, WARN or INFO) of the message
ERROR
WARN
INFO
The message to be printed (as character).
tryCatchLog:::log2console("WARN", "this is my last warning")
Run the code above in your browser using DataLab