mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
21 lines
556 B
C
21 lines
556 B
C
/*
|
|
* lib/css/src/debug.h
|
|
*
|
|
* Copyright (c) 2023-2025, Liu Chao <i@lc-soft.io> 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__)
|