|
vdr-plugin-softhddevice-drm-gles 1.6.2
|
Logger. More...
#include <logger.h>
Public Member Functions | |
| void | LogFatal (const char *format,...) |
| Log to syslog LOG_ERR and abort. | |
| void | LogError (const char *format,...) |
| Log to syslog LOG_ERR. | |
| void | LogWarning (const char *format,...) |
| Log to syslog LOG_WARNING. | |
| void | LogInfo (const char *format,...) |
| Log to syslog LOG_INFO. | |
| void | LogDebug (const char *format,...) |
| Log to syslog LOG_DEBUG. | |
| void | LogDebug2 (const int cat, const char *format,...) |
| Log to syslog LOG_DEBUG and add logging category to output. | |
| void | LogFFmpeg (const char *, va_list) |
| Log to syslog LOG_DEBUG and add prefix [FFMpeg] to output. | |
| void | SetLogLevel (int level) |
| Set the loglevel. | |
Static Public Member Functions | |
| static std::shared_ptr< cSoftHdLogger > | GetLogger () |
| Get an instance to the global logger. | |
| static void | LogFFmpegCallback (void *, int, const char *, va_list) |
| Callback for ffmpeg logs. | |
Private Member Functions | |
| cSoftHdLogger (void)=default | |
| cSoftHdLogger (const cSoftHdLogger &)=delete | |
| cSoftHdLogger & | operator= (const cSoftHdLogger &)=delete |
Private Attributes | |
| std::atomic< int > | m_logLevel = 0 |
| loglevel mask (see enum LogFlags) | |
Static Private Attributes | |
| static constexpr int | MAX_LOGMESSAGE_SIZE = 512 |
| max size of the log message | |
Logger.
Plugin specific logging implementation which does not depend on VDR loglevels
|
privatedefault |
Referenced by GetLogger().
|
privatedelete |
|
privatedelete |
|
private |
loglevel mask (see enum LogFlags)
Definition at line 93 of file logger.h.
Referenced by LogDebug(), LogDebug2(), LogFFmpeg(), and SetLogLevel().
max size of the log message
Definition at line 91 of file logger.h.
Referenced by LogDebug(), LogDebug2(), LogError(), LogFatal(), LogFFmpeg(), LogInfo(), and LogWarning().