Zonemaster::Engine::Logger(3pm) | User Contributed Perl Documentation | Zonemaster::Engine::Logger(3pm) |
Zonemaster::Engine::Logger - class that holds Zonemaster::Engine::Logger::Entry objects.
my $logger = Zonemaster::Engine::Logger->new; $logger->add( TAG => {some => 'arguments'});
If the called code throws an exception, and the exception is not an object of class Zonemaster::Engine::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::Engine::Exception is called, the exception will simply be rethrown until it reaches the code that started the test run that logged the message.
2023-03-04 | perl v5.36.0 |