![]() |
BALTECH Docs |
BALTECH SDK wrapper functions reference
|
| BRP_LIB brp_errcode brp_set_log_path | ( | brp_protocol | protocol, |
| const char * | path | ||
| ) |
Sets a custom log file path.
If the path ends with '/' or '\', it is treated as a directory and the default filename schema ({interface}-{instance}.html) will be used. Otherwise, the path is used as the full file path.
Setting path to NULL restores the default behavior.
If a log file is currently open, it will be closed and the new path will be used for the next log entry.
| protocol | A protocol stack containing a monitor protocol layer. |
| path | The custom log file path, or NULL for default behavior. |