logger.getfiles: logger.getfiles

Description Usage Value Author(s) See Also Examples

View source: R/logger.R

Description

Gets the files currently used by the logger.

Usage

1

Value

Vector storing the full names of the files that are being used by the logger. This vector contains NA as an element if the logger is (also) using the console for its output. If logging functionality is disabled (see rnb.options) or the logger is not initialized, this function returns NULL.

Author(s)

Yassen Assenov

See Also

logger.isinitialized to check if logging is activated; logger.start for initializing a logger or starting a section

Examples

1
2
if (NA %in% logger.getfiles())
  cat("Console logger is enabled\n")

RnBeads documentation built on March 3, 2021, 2 a.m.