MIME::Tools::Logger - an abstract logger of messages
### Log messages of various types:
$logger->debug("about to open config file");
$logger->warning("missing config file: must create");
$logger->error("unable to create config file");
Note that this is not the same as just using Perl's warn() facility (though a concrete subclass may choose to do that).
Usually, such messages signal points at which exceptions are (or would be) thrown.