Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:bs2_setdebugfilelog [2019/06/03 09:26]
yjjung [Parameter]
en:bs2_setdebugfilelog [2020/04/29 14:14] (current)
sypark1
Line 1: Line 1:
-FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// 
  
 ~~NOTOC~~ ~~NOTOC~~
Line 7: Line 6:
  
 ===== BS2_SetDebugFileLog ===== ===== BS2_SetDebugFileLog =====
-[+ 2.6.4] The log messages in the SDK can be output to a file, which can be used for debugging applications. \\+[+ 2.6.3] The log messages in the SDK can be output to a file, which can be used for debugging applications. \\
 The file can be specified as an absolute path or a relative path, and log messages generated during the operation of the SDK will be automatically stored in the corresponding path. \\ The file can be specified as an absolute path or a relative path, and log messages generated during the operation of the SDK will be automatically stored in the corresponding path. \\
 The file name to be saved is in the form of YYYYMMDD.log. The file name to be saved is in the form of YYYYMMDD.log.
Line 20: Line 19:
 ==== Parameter ==== ==== Parameter ====
   * [In] ''//​level//''​ : Debug level   * [In] ''//​level//''​ : Debug level
-<WRAP group 50%>+<WRAP group 80%>
 ^Macro ^Value ^Description ^ ^Macro ^Value ^Description ^
 |DEBUG_LOG_FATAL |0x00000001 |Fatal error| |DEBUG_LOG_FATAL |0x00000001 |Fatal error|
Line 26: Line 25:
 |DEBUG_LOG_WARN |0x00000004 |Warning | |DEBUG_LOG_WARN |0x00000004 |Warning |
 |DEBUG_LOG_INFO |0x00000008 |Information including errors | |DEBUG_LOG_INFO |0x00000008 |Information including errors |
-|DEBUG_LOG_TRACE |0x00000010 ​|Information for SDK self-debugging purposes |+|DEBUG_LOG_TRACE |0x00000100 ​|Information for SDK self-debugging purposes ​
 +|DEBUG_LOG_OPERATION_ALL |0x000000FF |All the logs except TRACE |
 |DEBUG_LOG_ALL |0xFFFFFFFF |All information | |DEBUG_LOG_ALL |0xFFFFFFFF |All information |
 </​WRAP>​ </​WRAP>​
   * [In] ''//​module//''​ : Specified module   * [In] ''//​module//''​ : Specified module
-<WRAP group 50%>+<WRAP group 70%>
 ^Macro ^Value ^Description ^ ^Macro ^Value ^Description ^
 |DEBUG_MODULE_KEEP_ALIVE |0x00000001 |Keep alive module | |DEBUG_MODULE_KEEP_ALIVE |0x00000001 |Keep alive module |