#include <syslog.h >
void openlog(const char *ident, intoption, int facility)
openlog():
openloglets us specify an ident that is added to each logmessage. This is normally thename of the program (cron, inetd, etc.)
openlog函数改变你的日志消息的呈现方式
ident:
#include <syslog.h >
void openlog(const char *ident, intoption, int facility)
openlog():
openloglets us specify an ident that is added to each logmessage. This is normally thename of the program (cron, inetd, etc.)
openlog函数改变你的日志消息的呈现方式
ident: