Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:bs2_setdebugfilelogex [2022/09/07 13:31] mark [파라미터] |
en:bs2_setdebugfilelogex [2022/09/30 09:28] (current) kkshin [Parameter] |
||
---|---|---|---|
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~~ | ||
[[sdk_api]] > [[BS2_SetDebugFileLogEx]] | [[sdk_api]] > [[BS2_SetDebugFileLogEx]] | ||
Line 21: | Line 19: | ||
==== Parameter ==== | ==== Parameter ==== | ||
* [In] ''//level//'' : Specify error level | * [In] ''//level//'' : Specify error level | ||
- | <WRAP group 50%> | + | <WRAP group 70%> |
^Macro ^Value ^Description ^ | ^Macro ^Value ^Description ^ | ||
|DEBUG_LOG_FATAL |0x00000001 |Fatal Error | | |DEBUG_LOG_FATAL |0x00000001 |Fatal Error | | ||
Line 34: | Line 32: | ||
</WRAP> | </WRAP> | ||
* [In] ''//module//'' : Specify a module | * [In] ''//module//'' : Specify a module | ||
- | <WRAP group 50%> | + | <WRAP group 80%> |
^Macro ^Value ^ | ^Macro ^Value ^ | ||
|DEBUG_MODULE_KEEP_ALIVE |0x00000001 |Keep alive module | | |DEBUG_MODULE_KEEP_ALIVE |0x00000001 |Keep alive module | | ||
Line 50: | Line 48: | ||
|DEBUG_MODULE_ALL |0xFFFFFFFF|Full module | | |DEBUG_MODULE_ALL |0xFFFFFFFF|Full module | | ||
</WRAP> | </WRAP> | ||
- | * [In] ''//logPath//' : The path to which the log file will be output | + | * [In] ''//logPath//'' : Path to which the log file will be output |
- | * [In] ''//fileMaxSizeMB//': Maximum size of file to save | + | |
- | ==== 반환값 ==== | + | ===== Return Value ==== |
- | 성공적으로 수행될 경우 ''BS_SDK_SUCCESS''를 반환하고, 에러가 발생할 경우 상응하는 에러 코드를 반환합니다. | + | If successfully done, ''BS_SDK_SUCCESS'' will be returned. \\ |
- | ==== 샘플코드(C++) ==== | + | If there is an error, the corresponding error code will be returned. |
+ | ==== Sample Code(C++) ==== | ||
<file cpp sample_setdebugfilelogex.cpp> | <file cpp sample_setdebugfilelogex.cpp> | ||
Line 67: | Line 66: | ||
</file> | </file> | ||
- | ==== 샘플코드(C#) ==== | + | ==== Sample Code (C#) ==== |
<file csharp sample_setdebugfilelogex.cs> | <file csharp sample_setdebugfilelogex.cs> | ||
const string CURRENT_DIR = "."; | const string CURRENT_DIR = "."; |