1 /* 2 * Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 8 #ifndef _CC_PAL_LOG_PLAT_H_ 9 #define _CC_PAL_LOG_PLAT_H_ 10 11 #include "cc_log_mask.h" 12 #include <stdio.h> 13 14 /************** PRINTF rules ******************/ 15 #if defined(DEBUG) 16 17 void CC_PalLog(int level, const char * format, ...); 18 19 #else /* Disable all prints */ 20 21 #define CC_PalLog(...) do {} while (0) 22 23 #endif 24 25 26 #endif /*_CC_PAL_LOG_PLAT_H_*/ 27