AppenderDB Class Reference

#include <AppenderDB.h>

+ Inheritance diagram for AppenderDB:

Public Member Functions

 AppenderDB (uint8 id, std::string const &name, LogLevel level, AppenderFlags flags, std::vector< std::string_view > const &args)
 ~AppenderDB ()
void setRealmId (uint32 realmId) override
AppenderType getType () const override
- Public Member Functions inherited from Appender
 Appender (uint8 _id, std::string const &name, LogLevel level=LOG_LEVEL_DISABLED, AppenderFlags flags=APPENDER_FLAGS_NONE)
virtual ~Appender ()
uint8 getId () const
std::string const & getName () const
virtual AppenderType getType () const =0
LogLevel getLogLevel () const
AppenderFlags getFlags () const
void setLogLevel (LogLevel)
void write (LogMessage *message)
virtual void setRealmId (uint32)

Static Public Attributes

static constexpr AppenderType type = APPENDER_DB

Private Member Functions

void _write (LogMessage const *message) override

Private Attributes

uint32 realmId
bool enabled

Additional Inherited Members

- Static Public Member Functions inherited from Appender
static char const * getLogLevelString (LogLevel level)

Detailed Description

Definition at line 23 of file AppenderDB.h.

Constructor & Destructor Documentation

◆ AppenderDB()

AppenderDB::AppenderDB ( uint8  id,
std::string const &  name,
LogLevel  level,
AppenderFlags  flags,
std::vector< std::string_view > const &  args 

Definition at line 23 of file AppenderDB.cpp.

◆ ~AppenderDB()

AppenderDB::~AppenderDB ( )

Definition at line 26 of file AppenderDB.cpp.

Member Function Documentation

◆ _write()

void AppenderDB::_write ( LogMessage const *  message)

Implements Appender.

Definition at line 28 of file AppenderDB.cpp.

+ Here is the call graph for this function:

◆ getType()

AppenderType AppenderDB::getType ( ) const

Implements Appender.

Definition at line 32 of file AppenderDB.h.

◆ setRealmId()

void AppenderDB::setRealmId ( uint32  realmId)

Reimplemented from Appender.

Definition at line 43 of file AppenderDB.cpp.

Member Data Documentation

◆ enabled

bool AppenderDB::enabled

Definition at line 36 of file AppenderDB.h.

◆ realmId

uint32 AppenderDB::realmId

Definition at line 35 of file AppenderDB.h.

◆ type

constexpr AppenderType AppenderDB::type = APPENDER_DB

Definition at line 26 of file AppenderDB.h.

The documentation for this class was generated from the following files: