Break-out logging and time-related functions into lib modules
[khatus.git] / x5 / khatus_lib_log.c
CommitLineData
17a27e48
SK
1#include <stdarg.h>
2#include <stdio.h>
3#include <stdlib.h>
4
5#include "khatus_lib_log.h"
6
7LogLevel _khatus_lib_log_level = Debug;
8
9void
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.025402 seconds and 4 git commands to generate.