-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Default log timestamps are now human-friendly, plus nits and fixups. (#…
…25) - Log timestamps now default to localtime [yyy-mm-dd hh:mm:ss.zzz]. The old behavior (abs time since program start) can be enabled using the new --ts-format uptime CLI (and conf) argument. - Log timestamps now default to "none" (no timestamp) if running in syslog mode (-S). - Added --ts-format and ts-format= CLI/conf arg for controlling the log timestamp format. Log timestamps can be suppressed altogether with --ts-foramt none - Bumped version to v1.1.1 - Updated documentation: man page as well as sample conf to describe this new --ts-format/ts-format= CLI/conf variable. - Made Debug() and Trace() logging more efficient by not evaluating the arguments in the common !Debug::isEnabled() or !Trace::isEnabled() case. We had to resort to using a C-style macro to accomplish this. - Replaced most uses of `__FUNCTION__` in the codebase with the more C++-ey `__func__`. - Various other small nits and fixups. Overall the app should eat slightly fewer cycles since all the verbose logging are now no-ops in the common case (before we were building strings only to throw them away later).
- Loading branch information
Showing
25 changed files
with
395 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.