1
0
mirror of https://git.sr.ht/~thestr4ng3r/chiaki synced 2025-03-12 05:25:23 -07:00
chiaki/test/test_log.c
2020-12-27 16:46:09 +01:00

15 lines
282 B
C

// SPDX-License-Identifier: LicenseRef-AGPL-3.0-only-OpenSSL
#include "test_log.h"
#include <stdbool.h>
static bool initialized = false;
static ChiakiLog log_quiet;
ChiakiLog *get_test_log()
{
if(!initialized)
chiaki_log_init(&log_quiet, 0, NULL, NULL);
return &log_quiet;
}