Files
LCUI/lib/css/src/debug.h
T
2026-08-05 22:42:22 +08:00

21 lines
579 B
C

/*
* lib/css/src/debug.h
*
* Copyright (c) 2023-2026, Liu Chao <hello@lcui.dev> All rights reserved.
*
* SPDX-License-Identifier: MIT
*
* This file is part of LCUI, distributed under the MIT License found
* in the LICENSE.TXT file in the root directory of this source tree.
*/
#ifdef DEBUG
#define DEBUG_MSG _DEBUG_MSG
#else
#define DEBUG_MSG(format, ...)
#endif
#define _DEBUG_MSG(format, ...) \
logger_log(LOGGER_LEVEL_DEBUG, __FILE__ ":%d: %s(): " format, \
__LINE__, __FUNCTION__, ##__VA_ARGS__)