how to send priority information to syslog logger function from logger function
I would like to use syslog logger library. So,i thought of overriding est_init_logger function, I am referring to est_init_logger in est.c.
EST_ERROR est_init_logger (EST_LOG_LEVEL lvl, void (*loggerfunc)(char *, va_list)) //logger function only accepts format and list of arguments. Its doesn't have log_level information. Could you please guide me how to pass that information.
We need this information while setting the priority in syslog function. void syslog(int priority, const char *format, ...);
Hello,
I looked into this today and it appears there is currently no way to do this. It looks like a change would be needed to the logging functionality of libest to accommodate passing the logging level to the external logging function. The change does seem straightforward, but there just is no time at this moment to address this.