MongoDB C++ Driver legacy-1.1.1
Loading...
Searching...
No Matches
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.
 
static DateFormatter getDateFormatter ()
 Gets the date formatter function in use by instances of MessageEventDetailsEncoder.
 

Detailed Description

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

Member Function Documentation

◆ getDateFormatter()

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

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

Always safe to call.

◆ setDateFormatter()

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: