Switch to standard logging framework
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user