d4storagehub4RLogger {d4storagehub4R} | R Documentation |
d4storagehub4RLogger
Description
d4storagehub4RLogger
d4storagehub4RLogger
Format
R6Class
object.
Value
Object of R6Class
for modelling a simple logger
Abstract Methods
INFO(text)
-
Logger to report information. Used internally
WARN(text)
-
Logger to report warnings. Used internally
ERROR(text)
-
Logger to report errors. Used internally
Public fields
verbose.info
verbose info, default is
FALSE
verbose.debug
verbose debug, default is
FALSE
loggerType
logger type
Methods
Public methods
Method logger()
Logger function
Usage
d4storagehub4RLogger$logger(type, text)
Arguments
type
type
text
text
Method INFO()
INFO logger function
Usage
d4storagehub4RLogger$INFO(text)
Arguments
text
text
Method WARN()
WARN logger function
Usage
d4storagehub4RLogger$WARN(text)
Arguments
text
text
Method ERROR()
ERROR logger function
Usage
d4storagehub4RLogger$ERROR(text)
Arguments
text
text
Method new()
Initializes a basic logger class
Usage
d4storagehub4RLogger$new(logger = NULL)
Arguments
logger
the type of logger, either
NULL
(default),INFO
, orDEBUG
Method getClassName()
Get class name
Usage
d4storagehub4RLogger$getClassName()
Returns
the class name
Method getClass()
Get class
Usage
d4storagehub4RLogger$getClass()
Returns
the class
Method clone()
The objects of this class are cloneable with this method.
Usage
d4storagehub4RLogger$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Note
Logger class used internally by d4storagehub4R
[Package d4storagehub4R version 0.4-4 Index]