E-MailRelay
|
A class that sets the G::LogOuput::context() while in scope. More...
#include <geventloggingcontext.h>
Public Member Functions | |
EventLoggingContext (ExceptionSource *esrc) | |
Constructor that sets the logging context to whatever ExceptionSource::exceptionSourceId() returns. More... | |
EventLoggingContext (const std::string &) | |
Constructor that sets the logging context to the given string. More... | |
~EventLoggingContext () noexcept | |
Destructor. Restores the logging context. More... | |
EventLoggingContext (const EventLoggingContext &)=delete | |
EventLoggingContext (EventLoggingContext &&)=delete | |
void | operator= (const EventLoggingContext &)=delete |
void | operator= (EventLoggingContext &&)=delete |
A class that sets the G::LogOuput::context() while in scope.
Definition at line 35 of file geventloggingcontext.h.
|
explicit |
Constructor that sets the logging context to whatever ExceptionSource::exceptionSourceId() returns.
Definition at line 28 of file geventloggingcontext.cpp.
|
explicit |
Constructor that sets the logging context to the given string.
Definition at line 36 of file geventloggingcontext.cpp.
|
noexcept |
Destructor. Restores the logging context.
Definition at line 45 of file geventloggingcontext.cpp.