Commit 8889e96c authored by Steven Murray's avatar Steven Murray
Browse files

It is a convention of CASTOR to use syslog level of LOG_NOTICE to label

user errors.  This commit adds the following macro that helps enforce
that convention and document it in the code.
  "#define LOG_USERERR LOG_NOTICE"
parent 70339a0f
......@@ -36,6 +36,13 @@
#include <syslog.h>
#include <sys/time.h>
/**
* It is a convention of CASTOR to use syslog level of LOG_NOTICE to label
* user errors. This macro helps enforce that convention and document it in
* the code.
*/
#define LOG_USERERR LOG_NOTICE
namespace castor {
namespace log {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment