aboutsummaryrefslogtreecommitdiff
path: root/docs/man/CMakeLists.txt
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-04-21 12:23:07 -0700
committerGitHub <noreply@github.com>2024-04-21 12:23:07 -0700
commit56507ab5c4db009be5251bde832f594fe5ed3d5e (patch)
treec70e7d669c3548a5c58ab27c0fc6118a96580863 /docs/man/CMakeLists.txt
parent3593eba5272bf627b99a2521b3f025141a49bcad (diff)
downloadnng-56507ab5c4db009be5251bde832f594fe5ed3d5e.tar.gz
nng-56507ab5c4db009be5251bde832f594fe5ed3d5e.tar.bz2
nng-56507ab5c4db009be5251bde832f594fe5ed3d5e.zip
Logging improvements (#1816)
* 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.
Diffstat (limited to 'docs/man/CMakeLists.txt')
-rw-r--r--docs/man/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/man/CMakeLists.txt b/docs/man/CMakeLists.txt
index ba3508d2..e839b0d6 100644
--- a/docs/man/CMakeLists.txt
+++ b/docs/man/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-# Copyright 2020 Staysail Systems, Inc. <info@staysail.tech>
+# Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
# Copyright 2018 Capitar IT Group BV <info@capitar.com>
# Copyright 2019 Devolutions <info@devolutions.net>
#
@@ -116,8 +116,9 @@ if (NNG_ENABLE_DOC)
nng_listener_setopt
nng_listener_start
nng_log
+ nng_log_get_level
nng_log_set_facility
- nng_log_set_loevel
+ nng_log_set_level
nng_log_set_logger
nng_msg_alloc
nng_msg_append
@@ -181,6 +182,7 @@ if (NNG_ENABLE_DOC)
nng_stat_type
nng_stat_unit
nng_stat_value
+ nng_str_sockaddr
nng_strdup
nng_strerror
nng_strfree