yumapro  20.10-12
YumaPro SDK
log_syslog.h File Reference

Syslog logging manager API. More...

#include <stdio.h>
#include <xmlstring.h>
#include "procdefs.h"
#include "status.h"
#include "log.h"
Include dependency graph for log_syslog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void log_syslog_close (void)
 Close down syslog connection. More...
 
void log_syslog_cleanup (void)
 Cleanup syslog related logging state, if any. More...
 
int cvt_level2syslog_prio (log_debug_t level)
 Convert from log_debug (native) level to syslog priority. More...
 
boolean log_syslog_connected (void)
 Return syslog connect status. More...
 
void log_syslog_connect (void)
 Connect to syslog output stream via openlog() More...
 
void log_syslog_send (log_debug_app_t app, log_debug_t level, const char *fstr,...) __attribute__((format(printf
 Send log data to syslog via vsyslog() More...
 
void void log_syslog_flush (void)
 Flush contents of internal buffer to vendor logging system. More...
 
void log_syslog_common (boolean recursive, log_debug_t level, log_debug_t sub_level, const char *fstr, va_list args)
 Generate a log entry destined for vendor specific processing. More...
 
void log_syslog_append (boolean recursive, log_debug_t level, log_debug_t sub_level, const char *fstr, va_list args)
 Append formatted string output to the internal syslog log buffer. More...
 

Detailed Description

Syslog logging manager API.