1 /******************************************************************************
2 ** File Name: dm_log.h *
5 ** Copyright: 2007 Spreatrum, Incoporated. All Rights Reserved. *
6 ** Description: This file define *
7 ******************************************************************************
9 ******************************************************************************
11 ** ------------------------------------------------------------------------- *
12 ** DATE NAME DESCRIPTION *
13 ** 06/26/2007 Create *
14 ******************************************************************************/
19 /**---------------------------------------------------------------------------*
21 **---------------------------------------------------------------------------*/
22 #include "sci_types.h"
24 /**---------------------------------------------------------------------------*
26 **---------------------------------------------------------------------------*/
32 /**---------------------------------------------------------------------------*
34 **---------------------------------------------------------------------------*/
37 #define UA_TRACE SCI_TraceLow
41 #define UA_TRACE_ERR SCI_TraceLow
42 /**---------------------------------------------------------------------------*
44 **---------------------------------------------------------------------------*/
47 /**---------------------------------------------------------------------------*
48 ** Function Prototypes
49 **---------------------------------------------------------------------------*/
50 /*****************************************************************************/
51 // Description: This function put a message to the trace buffer which log
52 // level is no more than LOG_LEVEL_LOW.
53 // This function put a message to the trace buffer.
54 // 1.msg_trace_info.buf_is_send == TRACE_BUF_SEND
55 // Send the messages to the application tool when buffer
57 // 2.msg_trace_info.buf_is_send == TRACE_BUF_COVER
58 // Always cover the oldest message when buffer is full.
59 // Global resource dependence:
60 // Author: Richard.Yang
62 /*****************************************************************************/
63 PUBLIC uint32 SCI_TraceLow(
64 const char *x_format, ...);
66 /**---------------------------------------------------------------------------*
68 **---------------------------------------------------------------------------*/