Skip to contents

This function creates a logging message and signals a seasonder_log condition.

Usage

seasonder_log(message, level = "info")

Arguments

message

A character string indicating the message to be logged.

level

A character string that defines the level of the log. It can be "info", "error", or "fatal". Default is "info".

Value

Invisibly returns the generated log message string.

Examples

  seasonder_log("This is an info message")
  seasonder_log("This is an error message", "error")
  seasonder_log("This is a fatal message", "fatal")