Add --log-file

This commit is contained in:
Ian Gulliver
2016-03-07 11:26:25 -08:00
parent 51eaabe27a
commit 46696933aa
15 changed files with 110 additions and 61 deletions

View File

@@ -1,8 +1,10 @@
#pragma once
#include <stdbool.h>
#include <stdint.h>
void log_init(void);
void log_cleanup(void);
bool log_reopen(const char *);
void log_write(char, const uint8_t *, const char *, ...)
__attribute__ ((__format__ (__printf__, 3, 4)));