Skip to contents

Sets the log level for the package logger

Sets the log level for any package

Usage

omnipath_set_loglevel(level, target = "logfile")

set_loglevel(level, target = "logfile", pkg = "OmnipathR")

Arguments

level

Character or class `loglevel`. The desired log level.

target

Character, either 'logfile' or 'console'

pkg

Character: name of the package.

Value

Returns `NULL`.

Examples

omnipath_set_loglevel(logger::FATAL, target = 'console')