Improved the interface of the LogTS function

This commit is contained in:
2016-03-08 11:51:55 +01:00
parent 5a388ab741
commit ac2d66c61e
2 changed files with 20 additions and 14 deletions

View File

@ -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,...);