Add some log, fix tlog issue

This commit is contained in:
Nick Peng
2019-11-26 23:40:19 +08:00
parent 9f27bb9b70
commit 2b08ffee98
3 changed files with 39 additions and 5 deletions

View File

@@ -24,12 +24,12 @@ typedef enum {
struct tlog_time {
int year;
unsigned int usec;
unsigned char mon;
unsigned char mday;
unsigned char hour;
unsigned char min;
unsigned char sec;
unsigned char usec;
} __attribute__((packed));
#ifndef TLOG_MAX_LINE_LEN