콘솔 창에 텍스트 값을 출력하는 API이다.
| Parameters | Type | Description |
|---|---|---|
| strText | STRING | 로그 내용 문자열 |
| nLogLevel | short | [옵션] 로그 레벨 (기본값: 1) |
| Type | Description |
|---|---|
| BOOL | 정상 처리 여부 |
strText 파라미터 값이 유효하지 않은 경우, false가 리턴된다.
** nLogLevel 파라미터 값 0: engine 로그 1: debug 로그 2: information 로그 3: warn 로그 4: error 로그
function btnconsoleprint_on_mouseup()
{
var strTemp = "콘솔창에 변수값 보이기";
factory.consoleprint(strTemp);
}