Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
AppenderDB.h
Go to the documentation of this file.
1/*
2* This file is part of Project SkyFire https://www.projectskyfire.org.
3* See LICENSE.md file for Copyright information
4*/
5
6#ifndef APPENDERDB_H
7#define APPENDERDB_H
8
9#include "Appender.h"
10#include <string>
11
12class AppenderDB : public Appender
13{
14public:
15 AppenderDB(uint8 _id, std::string const& _name, LogLevel level);
17
19
20private:
22 bool enabled;
23 void _write(LogMessage const& message);
24};
25
26#endif
LogLevel
Definition Appender.h:16
std::uint8_t uint8
Definition Define.h:79
std::uint32_t uint32
Definition Define.h:77
void _write(LogMessage const &message)
bool enabled
Definition AppenderDB.h:22
uint32 realmId
Definition AppenderDB.h:21
AppenderDB(uint8 _id, std::string const &_name, LogLevel level)
Definition AppenderDB.cpp:9
void setRealmId(uint32 realmId)
LogLevel level
Definition Appender.h:91
Appender(uint8 _id, std::string const &name, AppenderType type=AppenderType::APPENDER_NONE, LogLevel level=LogLevel::LOG_LEVEL_DISABLED, AppenderFlags flags=APPENDER_FLAGS_NONE)
Definition Appender.cpp:24