debuglog.h

来自「AMLOGIC DPF source code」· C头文件 代码 · 共 32 行

H
32
字号
/*******************************************************************
 * 
 *  Copyright C 2005 by Amlogic, Inc. All Rights Reserved.
 *
 *  Description: AVOS debug logging declarations.
 *
 *  Author: EK
 *  Created: Wed Mar 29 16:41:29 2006
 *
 *******************************************************************/

#ifndef DEBUGLOG_H
#define DEBUGLOG_H

typedef enum {
    LOG_AW_PLAYLISTS = 0,
    MAX_LOG_MODULES /* Must be at the end */
} LogModule_t;

#if (OS_TASK_DEBUGHELPER_EN>0)&&(!(defined __ROM_))
extern void
avos_debug_log(LogModule_t module, int level, char *fmt, ...);

extern void
avos_set_log_level(LogModule_t module, char level);
#else
#define avos_debug_log(m, l, f,d...)
#define avos_set_log_level(m, l)
#endif

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?