module MStrap::DSL::Logging
Direct including types
Defined in:
mstrap/dsl/logging.crInstance Method Summary
-
#log(msg)
Logs a message, without appending a newline.
-
#logc(msg)
Logs a message at the FATAL level and terminate program.
-
#logd(msg)
Log a message at the DEBUG level.
-
#logn(msg)
Logs a message, appending a newline.
-
#logw(msg)
Logs a message at the WARN level.
-
#success(msg)
Logs a success message at the INFO level.
Instance Method Detail
def 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.
def logd(msg)
#
Log a message at the DEBUG level. This will only be logged when mstrap
is in debug mode.