Skip to main content
Skip table of contents

CDRFLEx.set_on_tp_log

기능

DRL에서 tp_log명령을 사용했을 경우, 로그 메시지를 확인하기 위한 콜백함수를 등록하기 위한 함수이다. 자동으로 실행되어야 하는 기능을 작성할 때 유용하다

인수

인수명자료형기본값설명

pCallbackFunc

TOnTpLogCB

-

콜백 함수 정의 참조

리턴

없음

예제

CPP
void OnTpLog(const char* strLog)
{
    cout << "Log Message: " << strLog << endl;
}
int main()
{
	drfl.set_on_tp_log(OnTpLogCB)
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.