Improved the interface of the LogTS function
This commit is contained in:
3
logv2.h
3
logv2.h
@ -11,6 +11,7 @@
|
||||
#ifndef __LOGV2
|
||||
#define __LOGV2
|
||||
#include <stdarg.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
/*
|
||||
severity codes
|
||||
@ -62,7 +63,7 @@ void LogIS(unsigned int severity, unsigned int subsystem,const char *format,...)
|
||||
* \param format The format string for the message
|
||||
* \param ... The data to format
|
||||
*/
|
||||
void LogTS(const char *timeStamp, unsigned int severity, unsigned int subsystem,const char *format,...);
|
||||
void LogTS(struct timeval *tv, unsigned int severity, unsigned int subsystem,const char *format,...);
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user