Skip to content

Commit 63f686a

Browse files
authored
Don't log unwanted when not initialized
1 parent eb85220 commit 63f686a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

absl/log/internal/log_sink_set.cc

+1-2
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ class StderrLogSink final : public LogSink {
9090
~StderrLogSink() override = default;
9191

9292
void Send(const absl::LogEntry& entry) override {
93-
if (entry.log_severity() < absl::StderrThreshold() &&
94-
absl::log_internal::IsInitialized()) {
93+
if (entry.log_severity() < absl::StderrThreshold()) {
9594
return;
9695
}
9796

0 commit comments

Comments
 (0)