| ocs4RLogger | R Documentation |
ocs4RLogger
ocs4RLogger
R6Class object.
Object of R6Class for modelling a simple logger
verbose.infois info logger active?
verbose.debugis debug logger active?
loggerTypelogger type
new()Initializes the logger
ocs4RLogger$new(logger = NULL)
loggerthe type of logger. Default is NULL, accepts INFO or DEBUG
logger()Logger function
ocs4RLogger$logger(type, text)
typetype of log
texttext
INFO()Logger to report information. Used internally
ocs4RLogger$INFO(text)
texttext
WARN()Logger to report warnings. Used internally
ocs4RLogger$WARN(text)
texttext
ERROR()Logger to report errors Used internally
ocs4RLogger$ERROR(text)
texttext
getClassName()Get class name
ocs4RLogger$getClassName()
the class name
getClass()Get class
ocs4RLogger$getClass()
the class
clone()The objects of this class are cloneable with this method.
ocs4RLogger$clone(deep = FALSE)
deepWhether to make a deep clone.
Logger class used internally by ocs4R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.