diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-10-19 13:10:45 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-10-19 13:10:45 -0700 |
| commit | faea593f8916f6d1a3b8979baf2d375948e86961 (patch) | |
| tree | f256edcb77b12623d7d943f01b79697e5fc95040 /docs/ref/api | |
| parent | 663d83b6bf5171824ef6f3ae76bb108c27ddf4ed (diff) | |
| download | nng-faea593f8916f6d1a3b8979baf2d375948e86961.tar.gz nng-faea593f8916f6d1a3b8979baf2d375948e86961.tar.bz2 nng-faea593f8916f6d1a3b8979baf2d375948e86961.zip | |
Add syslog RFCs to see also
Diffstat (limited to 'docs/ref/api')
| -rw-r--r-- | docs/ref/api/index.md | 15 | ||||
| -rw-r--r-- | docs/ref/api/logging.md | 10 |
2 files changed, 24 insertions, 1 deletions
diff --git a/docs/ref/api/index.md b/docs/ref/api/index.md index 11192e62..f2e01a08 100644 --- a/docs/ref/api/index.md +++ b/docs/ref/api/index.md @@ -1,7 +1,20 @@ # API Reference -This section is a reference guide for the NNG programming interfaces. +This section is a reference guide for the _NNG_ programming interfaces. +It is meant to serve as a refernce, rather than as a tutorial. + +The material here is organized by major areas of functionality. + +Note that unless indicated otherwise, consumers of these interfaces must +include the `nng/nng.h` header file like so: + +```c +#include <nng/nng.h> +``` + +## Chapters - [Messages](msg/) - [Threading and Synchronization](thr/) +- [Logging](logging.md) - [Utility Functions](util/) diff --git a/docs/ref/api/logging.md b/docs/ref/api/logging.md index cbed636c..d695e482 100644 --- a/docs/ref/api/logging.md +++ b/docs/ref/api/logging.md @@ -170,6 +170,16 @@ The {{i:`nng_system_logger`}} attempts to use an appropriate system facility to For POSIX systems, this means using `syslog` to process the messages. For other systems the defauilt behavior may be the same as `nng_stderr_logger`. +## See Also + +The Syslog Protocol upon which this is based is documented in the following two IETF +RFCS, + +- R. Gerhards, [RFC 5424](https://datatracker.ietf.org/doc/html/rfc5424), _The Syslog Protocol_, + March 2009 +- C. Lonvick, [RFC 3164](https://datatracker.ietf.org/doc/html/rfc3164), _The BSD syslog Protocol_, + August 2001 + [log_level]: #log-levels [log_facility]: #log-facilities [log_logger]: #log-handlers |
