createLogSettings: Create the settings for logging the progression of the...

View source: R/Logging.R

createLogSettingsR Documentation

Create the settings for logging the progression of the analysis

Description

Create the settings for logging the progression of the analysis

Usage

createLogSettings(verbosity = "DEBUG", timeStamp = T, logName = "runPlp Log")

Arguments

verbosity

Sets the level of the verbosity. If the log level is at or higher in priority than the logger threshold, a message will print. The levels are:

  • DEBUG Highest verbosity showing all debug statements

  • TRACE Showing information about start and end of steps

  • INFO Show informative information (Default)

  • WARN Show warning messages

  • ERROR Show error messages

  • FATAL Be silent except for fatal errors

timeStamp

If TRUE a timestamp will be added to each logging statement. Automatically switched on for TRACE level.

logName

A string reference for the logger

Details

Returns an object of class logSettings that specifies the logger settings

Value

An object of class logSettings


OHDSI/PatientLevelPrediction documentation built on April 27, 2024, 8:11 p.m.