-
Notifications
You must be signed in to change notification settings - Fork 398
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Collapse LOGGER_LOG_{INFO, VERBOSE, DEBUG, TRACE, ERROR} implementation
Reduced the pasted implementations of the LOGGER_LOG_<VERBOSITY> macros to a single macro with a verbosity parameter, in an attempt to make the code easier to read by reducing the line count, and hopefully reduce the probability of copy / paste bugs (LOGGER_LOG_ERROR() was already checking against LOG_LEVEL_INFO). Signed-off-by: Razvan Cojocaru <razvan.cojocaru@openvpn.com>
- Loading branch information
Razvan Cojocaru
committed
Aug 5, 2024
1 parent
4e64314
commit 961ac5d
Showing
1 changed file
with
17 additions
and
92 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