Video Core Feature Interface Reference Manual  jpl-r3.13.18
vftr_log.h File Reference

Logging level control interface for core video feature-lib. More...

#include <syslog.h>

Functions

void VFTR_setLog (int level)
 Set log level for core video feature lib. More...
 

Detailed Description

Logging level control interface for core video feature-lib.

Function Documentation

void VFTR_setLog ( int  level)

Set log level for core video feature lib.

User can specify log level by macros defined in syslog.h, which includes LOG_EMERG, LOG_ALERT, LOG_CRIT, LOG_ERR, LOG_WARNING, LOG_NOTICE, LOG_INFO and LOG_DEBUG, to enable or disable logs.

After configured, logs with lower importance will be ignored.

Parameters
[in]levelAccept integer in range [0, 7]. Otherwise the action will be ignored.
Note
  • Core video feature lib utilizes syslog() as its logging mechanism. Be care if the application masks log by setlogmask()
  • The setting is applied in process-local.
  • Currently we do not mark log messages with level LOG_EMERG. Set level to LOG_EMERG to suppress all logs from core video feature lib.