Function psyiage_log_monitor_log_file¶
Defined in File psyiagesdk.h
Function Documentation¶
-
PSYIAGE_API int
psyiage_log_monitor_log_file
(psyiage_handle handle, char *path, int enable)¶ Enable log file monitoring.
Start a thread that will automatically poll a log file for new entries and push to the psyiage instance.
- Return
If successful, PSYIAGE_ERROR_SUCCESS. Otherwise, a non-zero error code
- Parameters
handle
: - A handle to the psyiage instancepath
: - Path of the log file to monitorenable
: - Enable (or disable) monitoring of the specified log file