RDK Documentation (Open Sourced RDK Components)
aamplogging.cpp File Reference

AAMP logging mechanisum source file. More...

#include <iomanip>
#include <algorithm>
#include "priv_aamp.h"
Include dependency graph for aamplogging.cpp:

Go to the source code of this file.

Macros

#define FIT_CHARS   64
 

Functions

void logprintf (const char *format,...)
 Print logs to console / log fil. More...
 
void logprintf_new (int playerId, const char *levelstr, const char *file, int line, const char *format,...)
 Print logs to console / log file.
 
void DumpBlob (const unsigned char *ptr, size_t len)
 Compactly log blobs of binary data. More...
 

Variables

static char gAampLog [] = "./aamp.log"
 Log file and cfg directory path - To support dynamic directory configuration.
 
static char gAampCfg [] = "/opt/aamp.cfg"
 
static char gAampCliCfg [] = "/opt/aampcli.cfg"
 

yes

AAMP logging mechanisum source file.

Definition in file aamplogging.cpp.

Function Documentation

◆ logprintf()

void logprintf ( const char *  format,
  ... 
)

Print logs to console / log fil.

Print logs to console / log file.

Definition at line 432 of file aamplogging.cpp.

◆ DumpBlob()

void DumpBlob ( const unsigned char *  ptr,
size_t  len 
)

Compactly log blobs of binary data.

Definition at line 533 of file aamplogging.cpp.