18 #include "mongo/base/disallow_copying.h"
19 #include "mongo/logger/log_component.h"
20 #include "mongo/logger/log_severity.h"
75 bool _hasMinimumLoggedSeverity[LogComponent::kNumLogComponents];
80 char _minimumLoggedSeverity[LogComponent::kNumLogComponents];
Log components.
Definition: log_component.h:32
LogSeverity getMinimumLogSeverity(LogComponent component) const
Gets the minimum log severity for component.
Utility functions for parsing numbers from strings.
Definition: compare_numbers.h:20
void setMinimumLoggedSeverity(LogComponent component, LogSeverity severity)
Sets the minimum log severity for component.
void clearMinimumLoggedSeverity(LogComponent component)
Clears the minimum log severity for component.
bool shouldLog(LogComponent component, LogSeverity severity) const
Predicate that answers the question, "Should I, the caller, append to you, the log domain...
Contains log severities for a list of log components.
Definition: log_component_settings.h:30
bool hasMinimumLogSeverity(LogComponent component) const
Returns true if a minimum log severity has been set for this component.
Representation of the severity / priority of a log message.
Definition: log_severity.h:33