![]() |
Storage Engine API
|
Returns a WT_EVENT_HANDLER with MongoDB's default handlers. More...
#include <wiredtiger_util.h>
Returns a WT_EVENT_HANDLER with MongoDB's default handlers.
The default handlers just log so it is recommended that you consider calling them even if you are capturing the output.
There is no default "close" handler. You only need to provide one if you need to call a destructor.
Public Member Functions | |
WiredTigerEventHandler () | |
WT_EVENT_HANDLER * | getWtEventHandler () |
bool | wasStartupSuccessful () |
void | setStartupSuccessful () |
Private Member Functions | |
int | suppressibleStartupErrorLog (WT_EVENT_HANDLER *handler, WT_SESSION *sesion, int errorCode, const char *message) |
Private Attributes | |
bool | _startupSuccessful = false |
mongo::WiredTigerEventHandler::WiredTigerEventHandler | ( | ) |
WT_EVENT_HANDLER * mongo::WiredTigerEventHandler::getWtEventHandler | ( | ) |
|
inline |
|
private |
|
inline |
|
private |