| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | Logging improvements (#1816) | Garrett D'Amore | 2024-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. | ||
| * | New NUTS test framework (NNG Unit Test Support). | Garrett D'Amore | 2020-11-23 |
| This is based on testutil/acutest, but is cleaner and fixes some short-comings. We will be adding more support for additional common paradigms to better facilitate transport tests. While here we added some more test cases, and fixed a possible symbol collision in the the stats framework (due to Linux use of a macro definition of "si_value" in a standard OS header). Test coverage may regress slightly as we are no longer using some of the legacy APIs. | |||
