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'.
Specifies a Path to the Log Files, unlike LogTo, LogPath will create the Path if it does not exist.
Sets the Base portion of the logfile names, but only if LogPath is specified. The default value is votecount.
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.
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.
John Karr (BRAINBUZ) firstname.lastname@example.org
Copyright 2019 by John Karr (BRAINBUZ) email@example.com.
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.