class
#include <eckit/log/CallbackTarget.h>
CallbackTarget
Base classes
- class LineBasedTarget
Public types
- using callback_t = void(*)(void*ctxt, const char*msg)
Constructors, destructors, conversion operators
- CallbackTarget(callback_t callback, void* context = 0)
- ~CallbackTarget() override
Public functions
Private functions
- void line(const char* line) override
-
void print(std::
ostream& s) const override
Function documentation
void eckit:: CallbackTarget:: attach() const
#include <eckit/memory/Counted.h>
void eckit:: CallbackTarget:: detach() const
#include <eckit/memory/Counted.h>
size_t eckit:: CallbackTarget:: count() const
#include <eckit/memory/Counted.h>
void eckit:: CallbackTarget:: lock() const
#include <eckit/memory/Counted.h>
void eckit:: CallbackTarget:: unlock() const
#include <eckit/memory/Counted.h>