summaryrefslogtreecommitdiff
path: root/src/core/log.c
Commit message (Collapse)AuthorAge
* log: eliminate redundant newlines sometimes presentGarrett D'Amore2024-08-14
|
* Logging improvements (#1816)Garrett D'Amore2024-04-21
| | | | | | | | | | | | * Add nng_str_sockaddr to get string representation of socket address. * Added nng_log_get_level() is meant to allow users to obtain the current level and avoid some possibly expensive operations just to collect debugging information when debugging is not in effect. We use a custom logger for NUTS, and this fits within the NUTS test framework well, so that if -v is supplied we get more content. All tests now get this by default.
* Added realtime clock support, and better timestamping.Garrett D'Amore2024-04-14
| | | | | The realtime clock is not (yet) exposed for user applications, but it is used for logging timestamps accurately.
* fixes #543 Add logging support frameworkGarrett D'Amore2024-04-13