Skip to contents

The Logger class serves as the core element for the logging system in sigscores.

Usage

Logger(path, con, verbose, level)

Arguments

path

a path to the log file to use

con

(optional) connection to a file

verbose

logical, whether R should report extra information on progress

level

the log level of the logger. Five levels are supported:

"OFF"

indicates the logger is inactive

"INFO"

indicates informational messages

"DEBUG"

indicates fine-grained informational messages

"TRACE"

indicates finer-grained informational events than the "DEBUG"

"ALL"

all levels are considered

Levels are considered ordered: OFF < INFO < DEBUG < TRACE < ALL

Value

A Logger object.

Author

Alessandro Barberis