syslog在那看

#include <stdio.h>
#include <string.h>
#include <syslog.h>
#define SYSLOG(arg...) syslog(LOG_ERR,##arg) 
int main()
{
  
    SYSLOG("-------websafe backup start!");
  printf("helle,world");
 
  return 0;
}

 

posted on 2021-01-10 01:53  lydstory  阅读(81)  评论(0)    收藏  举报

导航