diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2020-02-26 22:58:46 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-02-27 19:23:39 +0000 |
commit | ff724b466d7bc7ead68eacd5524cc1185b8b4523 (patch) | |
tree | ab550e052883eb26ad7321663cb2f6066e43ce28 /src/mongo/logv2/log_component.cpp | |
parent | 9a421e19cef1caa2627d4776db700ae5c8751932 (diff) | |
download | mongo-ff724b466d7bc7ead68eacd5524cc1185b8b4523.tar.gz |
SERVER-46405 Remove {get,set,clear}MinimumLoggedSeverity from logger V1 API
Diffstat (limited to 'src/mongo/logv2/log_component.cpp')
-rw-r--r-- | src/mongo/logv2/log_component.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/logv2/log_component.cpp b/src/mongo/logv2/log_component.cpp index 0d893cffcb9..6ec5285ff86 100644 --- a/src/mongo/logv2/log_component.cpp +++ b/src/mongo/logv2/log_component.cpp @@ -247,5 +247,9 @@ StringData LogComponent::getNameForLog() const { MONGO_UNREACHABLE; } +std::ostream& operator<<(std::ostream& os, LogComponent component) { + return os << component.getNameForLog(); +} + } // namespace logv2 } // namespace mongo |