logger.getfiles {RnBeads} | R Documentation

## logger.getfiles

### Description

Gets the files currently used by the logger.

### Usage

    logger.getfiles()

### 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

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

[Package RnBeads version 1.10.8 Index]