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_setdebugfilelogex [2022/09/07 13:27]
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 19: Line 17:
 </​code>​ </​code>​
  
-==== 파라미터 ​==== +==== Parameter ​==== 
-  * [In] ''//​level//''​ : 오류 수준을 지정 +  * [In] ''//​level//''​ : Specify error level 
-<WRAP group 50%> +<WRAP group 70%> 
-^매크로 ​^값 ^의미 ​+^Macro ^Value ^Description ​
-|DEBUG_LOG_FATAL |0x00000001 |치명적인 오류 ​+|DEBUG_LOG_FATAL |0x00000001 |Fatal Error 
-|DEBUG_LOG_ERROR |0x00000002 |일반 오류 ​+|DEBUG_LOG_ERROR |0x00000002 |General Error 
-|DEBUG_LOG_WARN |0x00000004 |경고 ​+|DEBUG_LOG_WARN |0x00000004 |Warning ​
-|DEBUG_LOG_API |0x00000008 |API 호출 ​IN 및 OUT | +|DEBUG_LOG_API |0x00000008 |API Calls IN and OUT| 
-|DEBUG_LOG_INFO |0x00000010 |오류 외의 정보 ​+|DEBUG_LOG_INFO |0x00000010 |Information other than errors ​
-|DEBUG_LOG_TRACE |0x00000100 |SDK 자체 디버깅 목적의 정보 ​+|DEBUG_LOG_TRACE |0x00000100 |SDK Self-Debugging Information ​
-|DEBUG_LOG_SYSTEM |0x0000000F |모든 오류수준을 출력 ​+|DEBUG_LOG_SYSTEM |0x0000000F |Output all error levels and general information ​
-|DEBUG_LOG_OPERATION_ALL |0x000000FF |모든 오류수준과 일반 정보를 출력 ​+|DEBUG_LOG_OPERATION_ALL |0x000000FF |Output all error levels ​
-|DEBUG_LOG_ALL |0xFFFFFFFF |모든 정보 출력 ​|+|DEBUG_LOG_ALL |0xFFFFFFFF |All Information Output ​|
 </​WRAP>​ </​WRAP>​
-  * [In] ''//​module//''​ : 모듈을 지정 +  * [In] ''//​module//''​ : Specify a module 
-<WRAP group 50%> +<WRAP group 80%> 
-^매크로 ​^값 +^Macro ^Value 
-|DEBUG_MODULE_KEEP_ALIVE |0x00000001 |Keep alive 모듈 ​+|DEBUG_MODULE_KEEP_ALIVE |0x00000001 |Keep alive module ​
-|DEBUG_MODULE_SOCKET_MANAGER |0x00000002 |소켓 관리 모듈 ​+|DEBUG_MODULE_SOCKET_MANAGER |0x00000002 |Socket Management Module ​
-|DEBUG_MODULE_SOCKET_HANDLER |0x00000004 |소켓 운영 모듈 ​+|DEBUG_MODULE_SOCKET_HANDLER |0x00000004 |Socket Operation Module ​
-|DEBUG_MODULE_DEVICE |0x00000008 |장치 모듈 ​+|DEBUG_MODULE_DEVICE |0x00000008 |Device Module ​
-|DEBUG_MODULE_DEVICE_MANAGER |0x00000010 |장치 관리 모듈 ​+|DEBUG_MODULE_DEVICE_MANAGER | 0x00000010 | Device Management Module ​
-|DEBUG_MODULE_EVENT_DISPATCHER |0x00000020 |이벤트 처리기 모듈 ​|+|DEBUG_MODULE_EVENT_DISPATCHER | 0x00000020 | Event Handler Module ​|
 |DEBUG_MODULE_API |0x00000040 |API | |DEBUG_MODULE_API |0x00000040 |API |
-|DEBUG_MODULE_MISC |0x00000080 |기타 ​+|DEBUG_MODULE_MISC |0x000080 | Other 
-|DEBUG_MODULE_PACKET |0x00000100 |통신 패킷 처리 모듈 ​+|DEBUG_MODULE_PACKET |0x00000100 | Communication Packet Processing Module ​
-|DEBUG_MODULE_NOTIFY_MANAGER |0x00000400 |Notify ​처리 모듈 ​+|DEBUG_MODULE_NOTIFY_MANAGER | 0x00000400 |Notify ​Processing Module ​
-|DEBUG_MODULE_EVENT |0x00000800 |USB event log 처리 모듈 ​+|DEBUG_MODULE_EVENT |0x00000800 |USB event log processing module ​
-|DEBUG_MODULE_USB |0x00001000 |USB import ​처리 모듈 ​+|DEBUG_MODULE_USB |0x00001000 |USB import ​processing module ​
-|DEBUG_MODULE_ALL |0xFFFFFFFF |전체 모듈 ​|+|DEBUG_MODULE_ALL |0xFFFFFFFF|Full module ​|
 </​WRAP>​ </​WRAP>​
-  * [In] ''//​logPath//''​ : 로그파일이 출력될 경로 +  * [In] ''//​logPath//''​ : Path to which the log file will be output 
-  * [In] ''//​fileMaxSizeMB//''​ : 저장할 파일의 최대크기 + 
-==== 반환값 ​==== +===== Return Value ==== 
-성공적으로 수행될 경우 ​''​BS_SDK_SUCCESS''​를 반환하고에러가 발생할 경우 상응하는 에러 코드를 반환합니다+If successfully done, ''​BS_SDK_SUCCESS'' ​will be returned. \\ 
-==== 샘플코드(C++) ====+If there is an errorthe 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 = "​.";​