summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness/tusb_log.c
blob: 4629c04b2b3cd5a48d63e2bbd552f30b7a6dfa91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* sbc_harness/tusb_log.c - Logger for tusb_config.h
 *
 * Copyright (C) 2024-2025  Luke T. Shumaker <lukeshu@lukeshu.com>
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

#define LOG_NAME TINY_USB
#include <libmisc/log.h>

void _libmisc_tu_mess_failed(const char *expr,
                             const char *file, unsigned int line, const char *func) {
	log_errorln(file, ":", line, ":", func, "(): assertion ", (qstr, expr), " failed");
}