Class Logger

Class Documentation

class Logger

Public Functions

inline Logger()
inline ~Logger()
inline void addSink(std::shared_ptr<LogSink> sink)
inline void removeSink(std::shared_ptr<LogSink> sink)
inline std::vector<std::shared_ptr<LogSink>> &getSinks()
inline void write(const LogLevel level, const std::string &str)
inline void activate(const bool b)

Protected Attributes

std::vector<std::shared_ptr<LogSink>> m_sinks
bool m_active