Skip to contents

This functions prints a message with a custom header and colour.

Usage

myLog(title = "[Processing]", col = "green", ...)

Arguments

title

The title in the log output

col

A character indicating the text colour to be used. Supported are 'green' / 'yellow' / 'red'

...

Any additional outputs or words for display

Examples

if (FALSE) { # \dontrun{
myLog("[Setup]", "red", "Some error occurred during data preparation.")
} # }