zen4RLogger: zen4RLogger

zen4RLoggerR Documentation

zen4RLogger

Description

zen4RLogger

zen4RLogger

Format

R6Class object.

Value

Object of R6Class for modelling a simple logger

Public fields

verbose.info

logger info status

verbose.debug

logger debug status

loggerType

Logger type, either "INFO", "DEBUG" or NULL (if no logger)

Methods

Public methods


Method logger()

internal logger function for the Zenodo manager

Usage
zen4RLogger$logger(type, text)
Arguments
type

logger message type, "INFO", "WARN", or "ERROR"

text

log message


Method INFO()

internal INFO logger function

Usage
zen4RLogger$INFO(text)
Arguments
text

log message


Method WARN()

internal WARN logger function

Usage
zen4RLogger$WARN(text)
Arguments
text

log message


Method ERROR()

internal ERROR logger function

Usage
zen4RLogger$ERROR(text)
Arguments
text

log message


Method new()

initialize the Zenodo logger

Usage
zen4RLogger$new(logger = NULL)
Arguments
logger

logger type NULL, 'INFO', or 'DEBUG'


Method getClassName()

Get object class name

Usage
zen4RLogger$getClassName()
Returns

the class name, object of class character


Method getClass()

Get object class

Usage
zen4RLogger$getClass()
Returns

the class, object of class R6


Method clone()

The objects of this class are cloneable with this method.

Usage
zen4RLogger$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Note

Logger class used internally by zen4R


zen4R documentation built on June 22, 2024, 11:43 a.m.