tkl_output | Log Output
The tkl_output interface writes formatted log output to the platform's log port and opens or closes that port. It is the kernel abstraction layer (TKL) port each platform implements; the TAL logging layer routes messages through it.
tkl_log_output
void tkl_log_output(const char *format, ...);
Outputs formatted log information to the log port.
| Parameter | Description |
|---|---|
format | printf-style format string, followed by a variable number of arguments. |
- Return value: none.
tkl_log_close
OPERATE_RET tkl_log_close(void);
Closes the log port.
- Parameters: none.
- Return value:
OPRT_OKon success. Any other value indicates an error; seetuya_error_code.h.
tkl_log_open
OPERATE_RET tkl_log_open(void);
Opens the log port.
- Parameters: none.
- Return value:
OPRT_OKon success. Any other value indicates an error; seetuya_error_code.h.