add formatting to lLogString
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
#define LLog_H
|
||||
|
||||
#include "time.h"
|
||||
#include <stdarg.h>
|
||||
|
||||
#define max_string_len 1024
|
||||
|
||||
typedef struct {
|
||||
char *buf;
|
||||
@@ -41,7 +44,7 @@ int create_timer(Logger* logger);
|
||||
void start_timer(Logger* logger, int timer_id);
|
||||
void stop_timer(Logger* logger, int timer_id);
|
||||
|
||||
lLogString to_lLogString(const char* string);
|
||||
lLogString lLogString_new(const char* fmt, ...);
|
||||
|
||||
void lLog(Logger logger, enum lLogLevel LOG_LEVEL, lLogString MESSAGE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user