NAME

Games::Lacuna::Role::Logger - Prints log messages

ACCESSORS

loglevel

Specify the loglevel. Will print all log messages equal or above the given level if running in an interactive shell.

METHODS

log

Print a log message. You can use the sprintf syntax.

$self->log($loglevel,$message,@sprintf_params);

abort

Dies with a pretty error message

$self->abort($message,@sprintf_params);