Break-out logging and time-related functions into lib modules
[khatus.git] / x5 / khatus_lib_log.c
1 #include <stdarg.h>
2 #include <stdio.h>
3 #include <stdlib.h>
4
5 #include "khatus_lib_log.h"
6
7 LogLevel _khatus_lib_log_level = Debug;
8
9 void
10 _fatal(char *fmt, ...) {
11 va_list ap;
12
13 va_start(ap, fmt);
14 fprintf(stderr, fmt, ap);
15 va_end(ap);
16 exit(EXIT_FAILURE);
17 }
This page took 0.056506 seconds and 4 git commands to generate.