NAME
Vote::Count::Log
VERSION 0.02430
Vote::Count Logging Methods
LogTo
Sets a path and Naming pattern for writing logs with the WriteLogs method.
'LogTo' => '/logging_path/election_name'
LogTo will not create a new directory if the directory does not exist.
The default log location is '/tmp/votecount'.
LogPath
Specifies a Path to the Log Files, unlike LogTo, LogPath will create the Path if it does not exist.
LogBaseName
Sets the Base portion of the logfile names, but only if LogPath is specified. The default value is votecount.
WriteLogs
Write the logs appending '.brief', '.full', and '.debug' for the three logs where brief is a summary written with the logt (log terse) method, the full transcript log written with logv, and finally the debug log written with logd. Each higher log level captures all events of the lower log levels.
Logging Events
When logging from your methods, use logt for events that produce a summary, use logv for events that should be in the full transcript such as round counts, and finally debug is for events that may be helpful in debugging but which should not be in the transcript. Events written to logt will be included in the verbose log and all events in the verbose log will be in the debug log.
BUG TRACKER
https://github.com/brainbuz/Vote-Count/issues
AUTHOR
John Karr (BRAINBUZ) brainbuz@cpan.org
CONTRIBUTORS
Copyright 2019 by John Karr (BRAINBUZ) brainbuz@cpan.org.
LICENSE
This module is released under the GNU Public License Version 3. See license file for details. For more information on this license visit http://fsf.org.