Log: Log a message to stderr.

Description Usage Arguments Details Value Author(s) See Also

View source: R/Rmeta.R

Description

Log a message to stderr. Indicate a logging level to control verbosity.

Usage

1
Log(o, level = get("DefaultLogLevel", envir = Log_env__), doPrint = NULL)

Arguments

o

Message to be printed.

level

If Log.setLevel was called with this value, subsequent calls to Log with values of level smaller or equal to this value will be printed.

doPrint

additional object that will be output using print.

Details

This function prints a message to stderr if the condition is met that a global log-level is set to greater or equal the value indicated by level. Log.level returns the current logging level.

Value

inivisble formatted message or NULL if nothing was logged

Author(s)

Stefan Böhringer <r-packages@s-boehringer.org>

See Also

Log.setLevel


sboehringer/gwasWeighted documentation built on Dec. 22, 2021, 10:19 p.m.