E-MailRelay
|
An interface for GNet classes that define a logging context string. More...
#include <geventlogging.h>
Public Member Functions | |
EventLogging (const EventLogging *) | |
Constructor. Sets the next() pointer. More... | |
virtual | ~EventLogging () |
Destructor. | |
virtual std::string_view | eventLoggingString () const |
Returns a string containing logging information for the object. More... | |
const EventLogging * | next () const noexcept |
Returns the link pointer. More... | |
EventLogging (const EventLogging &)=delete | |
EventLogging (EventLogging &&)=delete | |
EventLogging & | operator= (const EventLogging &)=delete |
EventLogging & | operator= (EventLogging &&)=delete |
An interface for GNet classes that define a logging context string.
The EventLogging interface pointer should be installed in an EventState object; then various GNet classes collaborate so that the G::LogOuput context is set appropriately when events are delivered to any objects that inherit copies of that EventState.
Definition at line 46 of file geventlogging.h.
|
explicit |
Constructor. Sets the next() pointer.
Definition at line 25 of file geventlogging.cpp.
|
virtual |
Returns a string containing logging information for the object.
The string-view should refer to a string data member or be a nullptr string-view if there is no logging information.
Definition at line 34 of file geventlogging.cpp.
|
noexcept |
Returns the link pointer.
Definition at line 39 of file geventlogging.cpp.