log_separator: Logs a long line to stand out from the console

Description Usage Arguments See Also Examples

View source: R/helpers.R

Description

Logs a long line to stand out from the console

Usage

1
2
3
4
5
6
log_separator(
  level = INFO,
  namespace = NA_character_,
  separator = "=",
  width = 80
)

Arguments

level

log level, see log_levels for more details

namespace

string referring to the logger environment / config to be used to override the target of the message record to be used instead of the default namespace, which is defined by the R package name from which the logger was called, and falls back to a common, global namespace.

separator

character to be used as a separator

width

max width of message – longer text will be wrapped into multiple lines

See Also

log_with_separator

Examples

1
2
log_separator()
log_separator(ERROR, separator = '!', width = 60)

logger documentation built on Oct. 19, 2021, 9:07 a.m.