|
EpcTools
An event based multi-threaded C++ development framework.
|
Defines a group of output sinks that can be assigned to a logger. More...
#include <elogger.h>
Public Member Functions | |
| ELoggerSinkSet (Int id=-1) | |
| Class constructor. More... | |
| ~ELoggerSinkSet () | |
| Class destructor. More... | |
| Void | addSink (std::shared_ptr< ELoggerSink > &sink) |
| Adds a sink to the sink set. More... | |
| std::vector< std::shared_ptr< ELoggerSink > > & | getVector () |
| Retrieves the vector of sinks. More... | |
| std::vector< spdlog::sink_ptr > & | getSpdlogVector () |
| Retrieves the spdlog vector of sinks. More... | |
| Int | setId (Int id) |
| Assigns the sink set ID. More... | |
| Int | getId () |
| Retrieves teh sink set ID. More... | |
Defines a group of output sinks that can be assigned to a logger.
|
inline |
Class constructor.
| id | the sink set identifier. If -1, then the next sink set ID will be assigned. |
|
inline |
Class destructor.
|
inline |
Adds a sink to the sink set.
| sink | the sink to add. |
|
inline |
Retrieves teh sink set ID.
|
inline |
Retrieves the spdlog vector of sinks.
|
inline |
Retrieves the vector of sinks.
|
inline |
Assigns the sink set ID.
| id | the sink set ID. |
1.8.16