19 lines
301 B
C
19 lines
301 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C"
|
||
|
|
{
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#include "stellar/log.h"
|
||
|
|
|
||
|
|
extern thread_local struct logger *__thread_local_logger;
|
||
|
|
|
||
|
|
struct logger *log_new(const char *config_file);
|
||
|
|
void log_free(struct logger *logger);
|
||
|
|
void log_level_reload(struct logger *logger);
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|