E-MailRelay
|
A class that sets the G::LogOuput::context() while in scope. More...
#include <geventloggingcontext.h>
Public Member Functions | |
EventLoggingContext (EventState) | |
Constructor that sets the G::LogOutput logging context to the accumulation of EventLogging::eventLoggingString()s. More... | |
EventLoggingContext (std::string_view) | |
Constructor that sets the G::LogOutput logging context to the given string. More... | |
EventLoggingContext (EventState, const std::string &) | |
Constructor that sets the G::LogOutput logging context to the accumulation of EventLogging::eventLoggingString()s and the given string. More... | |
~EventLoggingContext () | |
Destructor. Restores the logging context. More... | |
EventLoggingContext (const EventLoggingContext &)=delete | |
EventLoggingContext (EventLoggingContext &&)=delete | |
EventLoggingContext & | operator= (const EventLoggingContext &)=delete |
EventLoggingContext & | operator= (EventLoggingContext &&)=delete |
A class that sets the G::LogOuput::context() while in scope.
Definition at line 37 of file geventloggingcontext.h.
|
explicit |
Constructor that sets the G::LogOutput logging context to the accumulation of EventLogging::eventLoggingString()s.
Definition at line 55 of file geventloggingcontext.cpp.
|
explicit |
Constructor that sets the G::LogOutput logging context to the given string.
Definition at line 35 of file geventloggingcontext.cpp.
GNet::EventLoggingContext::EventLoggingContext | ( | EventState | es, |
const std::string & | s | ||
) |
Constructor that sets the G::LogOutput logging context to the accumulation of EventLogging::eventLoggingString()s and the given string.
Definition at line 45 of file geventloggingcontext.cpp.
GNet::EventLoggingContext::~EventLoggingContext | ( | ) |
Destructor. Restores the logging context.
Definition at line 77 of file geventloggingcontext.cpp.