MongoDB C++ Driver  legacy-1.1.2
Static Public Member Functions | List of all members
mongo::logger::MessageEventDetailsEncoder Class Reference

Encoder that writes log messages of the style that MongoDB writes to console and files. More...

#include <message_event_utf8_encoder.h>

+ Inheritance diagram for mongo::logger::MessageEventDetailsEncoder:

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...
 

Detailed Description

Encoder that writes log messages of the style that MongoDB writes to console and files.

Member Function Documentation

static DateFormatter mongo::logger::MessageEventDetailsEncoder::getDateFormatter ( )
static

Gets the date formatter function in use by instances of MessageEventDetailsEncoder.

Always safe to call.

static void mongo::logger::MessageEventDetailsEncoder::setDateFormatter ( DateFormatter  dateFormatter)
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.


The documentation for this class was generated from the following file: