Safir SDK Core
|
Enumerations | |
enum | Severity { Emergency = 0, Alert, Critical, Error, Warning, Notice, Informational, Debug } |
Severity level according to RFC 3164. More... | |
Functions | |
LOGGING_CPP_API void | SendSystemLog (const Severity severity, const std::wstring &message) |
Send log messages to the system logging mechanism. More... | |
Severity level according to RFC 3164.
Please read the section on Safir Logging in the Safir SDK Core User's Guide for some recommendations on when to use the various severity levels.
LOGGING_CPP_API void Safir::Logging::SendSystemLog | ( | const Severity | severity, |
const std::wstring & | message | ||
) |
Send log messages to the system logging mechanism.
The function takes a severity and an arbitrary string. The severity levels conforms to the ones used by the well known syslog format as specified in http://www.ietf.org/rfc/rfc3164.txt.
[in] | severity | Severity according to RFC 3164. |
[in] | message | Log text. |