—
More...
#include <Log.hh>
|
|
int | add (std::string) |
| | Add output sink (file, console, zmq) for SPDLOG.
|
| |
|
void | name (char const *pNewName) |
| | Set name of job (only used for spdlog logger identification)
|
| |
|
void | name (std::string newName) |
| | Set name of job (only used for spdlog logger identification)
|
| |
|
std::string | name () const |
| | Get name of job (only used for spdlog logger identification)
|
| |
|
int | create () |
| | Create SPDLOG loger.
|
| |
|
int | write (char const *) |
| | Write to logger.
|
| |
|
std::shared_ptr< spdlog::logger > | spd () |
| | Get SPDLOG logger handle.
|
| |
|
int | empty () |
| | Get info about sinks.
|
| |
|
void | fd (int newFD) |
| | Set FD of pipe to watch.
|
| |
|
int | fd () const |
| | Get FD of currently watched pipe.
|
| |
|
|
int | mFD = -1 |
| | FD of current pipe.
|
| |
|
std::string | mName = nullptr |
| | newName (name) of current job
|
| |
|
std::vector< spdlog::sink_ptr > | mSinks |
| | Sinks for SPDLOG.
|
| |
|
std::shared_ptr< spdlog::logger > | mpTarget = nullptr |
| | SPDLOG logger handle.
|
| |
|
|
static uint64_t | msID = 0 |
| | Static Job newName (holds index)
|
| |
The documentation for this class was generated from the following files: