atom4RLogger: atom4RLogger

atom4RLoggerR Documentation

atom4RLogger

Description

atom4RLogger

atom4RLogger

Format

R6Class object.

Value

Object of R6Class for modelling a simple logger

Public fields

verbose.info

If package info log messages have to be printed out

verbose.debug

If curl debug log messages have to be printed out

loggerType

the type of logger

Methods

Public methods


Method logger()

Provides log messages

Usage
atom4RLogger$logger(type, text)
Arguments
type

type of log ("INFO", "WARN", "ERROR")

text

the log message text


Method INFO()

Provides INFO log messages

Usage
atom4RLogger$INFO(text)
Arguments
text

the log message text


Method WARN()

Provides WARN log messages

Usage
atom4RLogger$WARN(text)
Arguments
text

the log message text


Method ERROR()

Provides ERROR log messages

Usage
atom4RLogger$ERROR(text)
Arguments
text

the log message text


Method new()

Initalizes the logger

Usage
atom4RLogger$new(logger = NULL)
Arguments
logger

logger type "INFO", "DEBUG" or NULL


Method getClassName()

Get class name

Usage
atom4RLogger$getClassName()
Returns

object of class data.frame


Method getClass()

Get class

Usage
atom4RLogger$getClass()
Returns

object of class R6Class


Method clone()

The objects of this class are cloneable with this method.

Usage
atom4RLogger$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Note

Logger class used internally by atom4R


atom4R documentation built on Nov. 18, 2022, 5:06 p.m.