log_message: logger message convenience function

Description Usage Arguments Details

View source: R/global.R

Description

logger message convenience function

Usage

1
2
3
4
5
log_message(
  message,
  level = c("DEBUG", "INFO", "WARN", "ERROR", "FATAL"),
  token = NULL
)

Arguments

message

String of message to be written in log. See levellog.

level

Set priority level of the message (number or character). See levellog.

token

Use token bound to this identifier.

Details

Does nothing if logger doesn't exist.


loosolab/wilson documentation built on Nov. 16, 2021, 3:21 p.m.