zf_log icon indicating copy to clipboard operation
zf_log copied to clipboard

Add option to use UTC time rather than local time

Open pflarue opened this issue 4 months ago • 0 comments

Zf_Log is used by ardopcf (https://github.com/pflarue/ardop) to provide debug logging to console and to files. Since ardopcf is a tool for digital communications over long range HF amateur radio in which communicating stations may be in different time zones, UTC rather than any local time zone are desirable for log file timestamps.

So, a few minor changes are made to define the ZF_LOG_USE_UTC_TIME option for zf_log. zf_log with these changes is currently being used in the develop branch of ardopcf and will be merged into the master branch with the next release of ardopcf.

Perhaps this additional option will be of interest to others using this logging system.

pflarue avatar Oct 11 '24 00:10 pflarue