module

MStrap::DSL::Logging

Instance methods

log(msg)

Logs a message, without appending a newline.

Source
logc(msg)

Logs a message at the FATAL level and terminate program. On a TTY, this will output in red. With --verbose, this will also print the stacktrace.

Source
logd(msg)

Log a message at the DEBUG level. This will only be logged when mstrap is in debug mode.

Source
logn(msg)

Logs a message, appending a newline.

Source
logw(msg)

Logs a message at the WARN level. On a TTY, this will output in yellow.

Source
success(msg)

Logs a success message at the INFO level. On a TTY, this will output in green.

Source