libcamera  v0.0.0+100-debian/0_git20200629+e7aa92a-8-9-g77f5237c-dirty (2021-05-05T16:20:29+01:00)
Supporting cameras in Linux since 2019
Namespaces | Enumerations | Functions
logging.h File Reference

Logging management. More...

Go to the source code of this file.

Namespaces

 libcamera
 Top-level libcamera namespace.
 

Enumerations

enum  libcamera::LoggingTarget { libcamera::LoggingTargetNone, libcamera::LoggingTargetSyslog, libcamera::LoggingTargetFile, libcamera::LoggingTargetStream }
 Log destination type. More...
 

Functions

int libcamera::logSetFile (const char *path)
 Direct logging to a file. More...
 
int libcamera::logSetStream (std::ostream *stream)
 Direct logging to a stream. More...
 
int libcamera::logSetTarget (LoggingTarget target)
 Set the logging target. More...
 
void libcamera::logSetLevel (const char *category, const char *level)
 Set the log level. More...
 

Detailed Description

Logging management.

API to change the logging output destination and log levels programatically.