logLevel {futile}R Documentation

Set the current log level for scripts

Description

Gets or sets the current log level. Applications can use this to determine how much logging should be output.

Gets or sets the current plotting state. When FALSE, applications should not plot any data.

Usage

logLevel(new.level = NULL)
usePlots(new.val = NULL)

Arguments

new.level The new log level. Typically a value between 0 (none) and 9 (most verbose) is used. If omitted, this will display the current log level.
new.val The value to replace the current value with. If omitted, this will display the current value.

Value

The current value of the setting.

Author(s)

Brian Lee Yung Rowe

Examples

  logLevel(3)
  logLevel()
  usePlots()

[Package futile version 1.0.2 Index]