MongoDB C++ Driver
legacy-1.1.2
|
Encoder that writes log messages of the style that MongoDB writes to console and files. More...
#include <message_event_utf8_encoder.h>
Static Public Member Functions | |
static void | setDateFormatter (DateFormatter dateFormatter) |
Sets the date formatter function for all instances of MessageEventDetailsEncoder. More... | |
static DateFormatter | getDateFormatter () |
Gets the date formatter function in use by instances of MessageEventDetailsEncoder. More... | |
Encoder that writes log messages of the style that MongoDB writes to console and files.
|
static |
Gets the date formatter function in use by instances of MessageEventDetailsEncoder.
Always safe to call.
|
static |
Sets the date formatter function for all instances of MessageEventDetailsEncoder.
Only and always safe to call during single-threaded execution, as in during start-up intiailization.