Zonemaster::Logger(3pm) | User Contributed Perl Documentation | Zonemaster::Logger(3pm) |
Zonemaster::Logger - class that holds Zonemaster::Logger::Entry objects.
my $logger = Zonemaster::Logger->new; $logger->add( TAG => {some => 'arguments'});
If the called code throws an exception, and the exception is not an object of class Zonemaster::Exception (or a subclass of it), the exception will be logged as a system message at default level "CRITICAL" and the callback attribute will be cleared.
If an exception that is of (sub)class Zonemaster::Exception is called, the exception will simply be rethrown until it reaches the code that started the test run that logged the message.
2017-06-23 | perl v5.24.1 |