This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
#include "../common/aliases/aliases.h"
|
#include "../common/aliases/aliases.h"
|
||||||
#include "../common/assert/assert.h"
|
#include "../common/assert/assert.h"
|
||||||
#include "../os/file/file.h"
|
#include "../os/file/file.h"
|
||||||
|
#include "common/misc/misc_utils.h"
|
||||||
|
|
||||||
#define LOG_LEVEL_STR_LENGTH 8
|
#define LOG_LEVEL_STR_LENGTH 8
|
||||||
#define LOG_PREFIX_BUF_LENGTH 16
|
#define LOG_PREFIX_BUF_LENGTH 16
|
||||||
@@ -12,6 +13,8 @@ typedef struct {
|
|||||||
WFile *outlog;
|
WFile *outlog;
|
||||||
WFile *errlog;
|
WFile *errlog;
|
||||||
LogLevel level;
|
LogLevel level;
|
||||||
|
|
||||||
|
wapp_misc_utils_reserve_padding(2 * sizeof(WFile *) + sizeof(LogLevel));
|
||||||
} LogConfig;
|
} LogConfig;
|
||||||
|
|
||||||
wapp_intern LogConfig LOG_CONFIG = {
|
wapp_intern LogConfig LOG_CONFIG = {
|
||||||
|
|||||||
Reference in New Issue
Block a user