SemiDrive SSDK Appication Program Interface PTG3.0
asw_log.h File Reference
#include <debug.h>

Go to the source code of this file.

Detailed Description

Macro Definition Documentation

◆ ASW_LOG_ALERT

#define ASW_LOG_ALERT (   string,
  args... 
)
Value:
ssdk_printf(ASW_LOG_LEVEL_ALERT, "[ASW]ALERT|%s| " string "\r\n", \
__func__, ##args); \
}
#define ASW_LOG_LEVEL
Definition: asw_log.h:26
#define ASW_LOG_ENABLE
Definition: asw_log.h:13
#define ASW_LOG_LEVEL_ALERT
Definition: asw_log.h:16

◆ ASW_LOG_CRIT

#define ASW_LOG_CRIT (   string,
  args... 
)
Value:
ssdk_printf(ASW_LOG_LEVEL_CRIT, "[ASW]CRIT|%s| " string "\r\n", \
__func__, ##args); \
}
#define ASW_LOG_LEVEL_CRIT
Definition: asw_log.h:17

◆ ASW_LOG_DEBUG

#define ASW_LOG_DEBUG (   string,
  args... 
)
Value:
ssdk_printf(ASW_LOG_LEVEL_DEBUG, "[ASW]DEBUG|%s| " string "\r\n", \
__func__, ##args); \
}
#define ASW_LOG_LEVEL_DEBUG
Definition: asw_log.h:23

◆ ASW_LOG_EMERG

#define ASW_LOG_EMERG (   string,
  args... 
)
Value:
ssdk_printf(ASW_LOG_LEVEL_EMERG, "[ASW]EMERG|%s| " string "\r\n", \
__func__, ##args); \
}
#define ASW_LOG_LEVEL_EMERG
Definition: asw_log.h:15

◆ ASW_LOG_ENABLE

#define ASW_LOG_ENABLE   1

◆ ASW_LOG_ERR

#define ASW_LOG_ERR (   string,
  args... 
)
Value:
ssdk_printf(ASW_LOG_LEVEL_ERR, "[ASW]ERR|%s| " string "\r\n", \
__func__, ##args); \
}
#define ASW_LOG_LEVEL_ERR
Definition: asw_log.h:18

◆ ASW_LOG_FUNC

#define ASW_LOG_FUNC ( )
Value:
ssdk_printf(ASW_LOG_LEVEL_INFO, "[ASW]FUNC|%s\r\n", __func__); \
}
#define ASW_LOG_LEVEL_INFO
Definition: asw_log.h:22

◆ ASW_LOG_INFO

#define ASW_LOG_INFO (   string,
  args... 
)
Value:
ssdk_printf(ASW_LOG_LEVEL_INFO, "[ASW]INFO|%s| " string "\r\n", \
__func__, ##args); \
}

◆ ASW_LOG_LEVEL

#define ASW_LOG_LEVEL   ASW_LOG_LEVEL_ERR

◆ ASW_LOG_LEVEL_ALERT

#define ASW_LOG_LEVEL_ALERT   SSDK_ALERT /*Action must be taken immediately*/

◆ ASW_LOG_LEVEL_CRIT

#define ASW_LOG_LEVEL_CRIT   SSDK_CRIT /*Critical conditions*/

◆ ASW_LOG_LEVEL_DEBUG

#define ASW_LOG_LEVEL_DEBUG   SSDK_DEBUG /*Debug-level message*/

◆ ASW_LOG_LEVEL_EMERG

#define ASW_LOG_LEVEL_EMERG   SSDK_EMERG /*System is unusable*/

◆ ASW_LOG_LEVEL_ERR

#define ASW_LOG_LEVEL_ERR   SSDK_ERR /*Error conditions*/

◆ ASW_LOG_LEVEL_INFO

#define ASW_LOG_LEVEL_INFO   SSDK_INFO /*Informational message*/

◆ ASW_LOG_LEVEL_NOTICE

#define ASW_LOG_LEVEL_NOTICE
Value:
SSDK_NOTICE /*Normal, but significant, \
conditions*/

◆ ASW_LOG_LEVEL_WARN

#define ASW_LOG_LEVEL_WARN   SSDK_WARNING /*Warning conditions*/

◆ ASW_LOG_NOTICE

#define ASW_LOG_NOTICE (   string,
  args... 
)
Value:
ssdk_printf(ASW_LOG_LEVEL_NOTICE, "[ASW]NOTICE|%s| " string "\r\n", \
__func__, ##args); \
}
#define ASW_LOG_LEVEL_NOTICE
Definition: asw_log.h:20

◆ ASW_LOG_WARN

#define ASW_LOG_WARN (   string,
  args... 
)
Value:
ssdk_printf(ASW_LOG_LEVEL_WARN, "[ASW]WARN|%s| " string "\r\n", \
__func__, ##args); \
}
#define ASW_LOG_LEVEL_WARN
Definition: asw_log.h:19