20 #include "mongo/logger/encoder.h"
21 #include "mongo/logger/message_event.h"
22 #include "mongo/util/time_support.h"
32 typedef void (*DateFormatter)(std::ostream&,
Date_t);
static DateFormatter getDateFormatter()
Gets the date formatter function in use by instances of MessageEventDetailsEncoder.
Encoder that generates log messages suitable for syslog.
Definition: message_event_utf8_encoder.h:56
Utility functions for parsing numbers from strings.
Definition: compare_numbers.h:20
Free form text log message object that does not own the storage behind its message and contextName...
Definition: message_event.h:33
Definition: time_support.h:39
Encoder that writes log messages of the style that MongoDB writes to console and files.
Definition: message_event_utf8_encoder.h:30
Encoder that generates log messages containing only the raw text of the message.
Definition: message_event_utf8_encoder.h:66
Interface for objects that encode Events to std::ostreams.
Definition: encoder.h:30
static void setDateFormatter(DateFormatter dateFormatter)
Sets the date formatter function for all instances of MessageEventDetailsEncoder. ...