omnipath_set_loglevel: Sets the log level for the package logger

View source: R/log.R

omnipath_set_loglevelR Documentation

Sets the log level for the package logger

Description

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')


saezlab/OmnipathR documentation built on Oct. 16, 2024, 11:49 a.m.