Skip to content

cvedia::rt::api::logging

Namespaces

Name
cvedia::rt::api::logging::self

Types

Name
enum int Log

Functions

Name
void initLogger(Log instance)
deque< std::string > getLog()
void log(std::string msg, plog::Severity level)
void pushLogEntry(std::string msg)
plog::IAppender * getLogger()
plog::Severity getSeverity()
plog::Severity getSeverity(Log instance)
void enableLogging(bool writeConsole, std::string filename, plog::Severity severity)
plog::IAppender * getLogger(Log instance)
void enableLogging()

Attributes

Name
std::string const INSTANCE_GENERAL
std::string const INSTANCE_DECODER
std::string const INSTANCE_INFERENCE
std::string const INSTANCE_TRACKER
std::string const INSTANCE_MOTION
std::string const INSTANCE_DATABASE
std::string const INSTANCE_BUFFER
std::string const INSTANCE_INPUT
std::string const INSTANCE_OUTPUT
std::string const INSTANCE_PROCESSING
std::string const INSTANCE_SOLUTION
std::string const INSTANCE_DISPATCHER
std::string const INSTANCE_ONVIF
std::string const INSTANCE_RTREGISTRY
std::string const INSTANCE_MASTER

Types Documentation

enum Log

Enumerator Value Description
LogGeneral 0
LogDecoder 1
LogInference 2
LogTracker 3
LogMotion 4
LogDatabase 5
LogBuffer 6
LogInput 7
LogOutput 8
LogProcessing 9
LogSolution 10
LogDispatcher 11
LogOnvif 12
LogRTRegistry 13
LogMaster 9999

Functions Documentation

function initLogger

void initLogger(
    Log instance
)

function getLog

deque< std::string > getLog()

function log

void log(
    std::string msg,
    plog::Severity level
)

function pushLogEntry

void pushLogEntry(
    std::string msg
)

function getLogger

plog::IAppender * getLogger()

function getSeverity

plog::Severity getSeverity()

function getSeverity

plog::Severity getSeverity(
    Log instance
)

function enableLogging

void enableLogging(
    bool writeConsole,
    std::string filename,
    plog::Severity severity
)

function getLogger

plog::IAppender * getLogger(
    Log instance
)

function enableLogging

void enableLogging()

Attributes Documentation

variable INSTANCE_GENERAL

std::string const INSTANCE_GENERAL = "general";

variable INSTANCE_DECODER

std::string const INSTANCE_DECODER = "decoder";

variable INSTANCE_INFERENCE

std::string const INSTANCE_INFERENCE = "inference";

variable INSTANCE_TRACKER

std::string const INSTANCE_TRACKER = "tracker";

variable INSTANCE_MOTION

std::string const INSTANCE_MOTION = "motion";

variable INSTANCE_DATABASE

std::string const INSTANCE_DATABASE = "database";

variable INSTANCE_BUFFER

std::string const INSTANCE_BUFFER = "buffer";

variable INSTANCE_INPUT

std::string const INSTANCE_INPUT = "input";

variable INSTANCE_OUTPUT

std::string const INSTANCE_OUTPUT = "output";

variable INSTANCE_PROCESSING

std::string const INSTANCE_PROCESSING = "processing";

variable INSTANCE_SOLUTION

std::string const INSTANCE_SOLUTION = "solution";

variable INSTANCE_DISPATCHER

std::string const INSTANCE_DISPATCHER = "dispatcher";

variable INSTANCE_ONVIF

std::string const INSTANCE_ONVIF = "onvif";

variable INSTANCE_RTREGISTRY

std::string const INSTANCE_RTREGISTRY = "rtregistry";

variable INSTANCE_MASTER

std::string const INSTANCE_MASTER = "master";