Add option to use UTC time rather than local time #51
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.