2016-03-05 22:54:26 -08:00
|
|
|
#pragma once
|
|
|
|
|
|
2016-03-07 11:26:25 -08:00
|
|
|
#include <stdbool.h>
|
2016-03-05 22:54:26 -08:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
|
|
void log_init(void);
|
2016-03-07 16:14:35 -08:00
|
|
|
void log_init2(void);
|
2016-03-05 22:54:26 -08:00
|
|
|
void log_cleanup(void);
|
2016-03-07 11:26:25 -08:00
|
|
|
bool log_reopen(const char *);
|
2016-03-06 22:08:04 -08:00
|
|
|
void log_write(char, const uint8_t *, const char *, ...)
|
|
|
|
|
__attribute__ ((__format__ (__printf__, 3, 4)));
|