Learn R Programming

loggr (version 0.3)

log_event: Create a log event

Description

A log event is a condition and can be signalled as such. In addition to the classic "simpleMessage", "simpleWarning", and "simpleError" conditions, loggr allows for levels "INFO", "WARN", "DEBUG", "ERROR", "CRITICAL".

Usage

log_event(level, message, ...)

Arguments

level

character: the event level.

message

character: the event message

...

further elements to add to the condition.

Value

A log event (condition)