|
ADTF
|
#include <log.h>
Public Member Functions | |
| virtual ILogChannel * | Top () const noexcept=0 |
| virtual void | Push (ILogChannel *pLogChannel) noexcept=0 |
| virtual void | Pop () noexcept=0 |
| virtual tResult | Annotate (tResult oResult) const noexcept=0 |
Class to inject a thread local log channel stack into a shared object. Implementations have to provide a separate stack of log channels for each thread that calls their member functions.
|
nodiscardpure virtualnoexcept |
Annotate the given result with the context information of all log channels currently on the stack.
| [in] | oResult | The result that should be annotated. |
|
pure virtualnoexcept |
Pops one log channel from the stack.
|
pure virtualnoexcept |
Pushes a log channel onto the stack.
| [in] | pLogChannel | The new top of the stack. |
|
pure virtualnoexcept |