log: add log_once() and log_once_errno() macros
These macros will log a message at the specified level only the first time they are called. On all later calls, if the specified level is debug, the logs will be suppressed; otherwise the message will be logged at debug.
Loading
Please register or sign in to comment