Switch to standard logging framework

This commit is contained in:
Ian Gulliver
2016-03-05 22:54:26 -08:00
parent 06e73e2319
commit 6480a960fa
20 changed files with 102 additions and 67 deletions

View File

@@ -1,7 +1,6 @@
#include <stdio.h>
#include "uuid.h"
#include "log.h"
#include "server.h"
uint8_t server_id[UUID_LEN];
@@ -9,5 +8,5 @@ char server_version[] = "https://github.com/flamingcowtv/adsb-tools#1";
void server_init() {
uuid_gen(server_id);
fprintf(stderr, "X %s: Server start\n", server_id);
log_write('X', server_id, "Server start");
}