#include <conn.h>
Public Types | |
enum | { evConnected = 1, evPing = 2, evClosed = 3, evError = 4, evQuery = 5, evWarningNote = 6, evWarning = 7, evWarningError = 8 } |
Log events. More... | |
Public Member Functions | |
virtual | ~Events () |
Destructor. | |
virtual Events * | copy () const =0 |
Makes a copy of the object. | |
virtual void | log_event (Conn &conn, int event, unsigned int code, char const *msg) const =0 |
Logs an event. |
|
|
|
Makes a copy of the object. This is called by Conn's copy constructor and assignment operator.
|
|
Logs an event.
|