Zonemaster::Engine::Logger::Entry - module for single log entries
Zonemaster::Engine->logger->add( TAG => { some => 'arguments' });
There should never be a need to create a log entry object in isolation. They should always be associated with and created via a logger object.
Construct a new object.
Returns a hash where the keys are log levels as strings and the corresponding values their numeric value.
Set the logger's start time to the current time.
Clear the test level cached configuration.
The name of the module associated to the entry, or "System".
The name of the test case which generated the entry, or "Unspecified".
The tag that was set when the entry was created.
The argument hash reference that was provided when the entry was created.
The time after the current program started running when this entry was created. This is a floating-point value with the precision provided by Time::HiRes.
The log level associated to this log entry.
Simple method to generate a string representation of the log entry. Overloaded to the stringification operator.
Returns the string representation of the message arguments.
Used to transform data from an internal/JSON representation to a "user friendly" representation one.
Returns the log level of the entry in numeric form.
To install Zonemaster::Engine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Zonemaster::Engine
CPAN shell
perl -MCPAN -e shell install Zonemaster::Engine
For more information on module installation, please visit the detailed CPAN module installation guide.