mirror of
https://github.com/pocoproject/poco.git
synced 2025-07-04 09:37:11 +02:00
added structure-data doc
This commit is contained in:
parent
69588abd71
commit
41cc2a632e
@ -36,6 +36,13 @@ class Net_API RemoteSyslogChannel: public Poco::Channel
|
|||||||
///
|
///
|
||||||
/// In addition, RemoteSyslogListener also supports the "old" BSD syslog
|
/// In addition, RemoteSyslogListener also supports the "old" BSD syslog
|
||||||
/// protocol, as described in RFC 3164.
|
/// protocol, as described in RFC 3164.
|
||||||
|
///
|
||||||
|
/// RFC 5425 structured data can be passed via the "structured-data"
|
||||||
|
/// property of the log Message. The content of the "structured-data"
|
||||||
|
/// property must be correct according to RFC 5425.
|
||||||
|
///
|
||||||
|
/// Example:
|
||||||
|
/// msg.set("structured-data", "[exampleSDID@32473 iut=\"3\" eventSource=\"Application\" eventID=\"1011\"]");
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static const std::string BSD_TIMEFORMAT;
|
static const std::string BSD_TIMEFORMAT;
|
||||||
|
@ -50,6 +50,7 @@ class Net_API RemoteSyslogListener: public Poco::SplitterChannel
|
|||||||
/// - addr: IP address of the host/interface sending the message.
|
/// - addr: IP address of the host/interface sending the message.
|
||||||
/// - host: host name; only for "new" syslog messages.
|
/// - host: host name; only for "new" syslog messages.
|
||||||
/// - app: application name; only for "new" syslog messages.
|
/// - app: application name; only for "new" syslog messages.
|
||||||
|
/// - structured-data: RFC 5424 structured data, or empty if not present.
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
RemoteSyslogListener();
|
RemoteSyslogListener();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user