A class that sets the G::LogOuput::context() while in scope.
EventLoggingContext(ExceptionSource *esrc)
Constructor that sets the logging context to whatever ExceptionSource::exceptionSourceId() returns.
~EventLoggingContext() noexcept
Destructor. Restores the logging context.