aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/logger/thread.cpp
diff options
context:
space:
mode:
authordzats <dzats@yandex-team.ru>2022-02-10 16:49:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:37 +0300
commit25972584abddd173801b48d92f8719e83af797b1 (patch)
tree514041b54afc1ce5d33b6f1c4de17f7fa4765aa7 /library/cpp/logger/thread.cpp
parentc74cff1222c5ff97080e38da5019b2520991a526 (diff)
downloadydb-25972584abddd173801b48d92f8719e83af797b1.tar.gz
Restoring authorship annotation for <dzats@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/logger/thread.cpp')
-rw-r--r--library/cpp/logger/thread.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/logger/thread.cpp b/library/cpp/logger/thread.cpp
index 0ccf9e374b..bc868bc843 100644
--- a/library/cpp/logger/thread.cpp
+++ b/library/cpp/logger/thread.cpp
@@ -81,9 +81,9 @@ public:
QueueOverflowCallback_();
} else {
ythrow yexception() << "log queue exhausted";
- }
+ }
}
-
+
// Write an emergency message when the memory allocator is corrupted.
// The TThreadedLogBackend object can't be used after this method is called.
inline void WriteEmergencyData(const TLogRecord& rec) noexcept {
@@ -136,14 +136,14 @@ void TThreadedLogBackend::WriteData(const TLogRecord& rec) {
void TThreadedLogBackend::ReopenLog() {
Impl_->ReopenLog();
}
-
+
void TThreadedLogBackend::ReopenLogNoFlush() {
Impl_->ReopenLogNoFlush();
}
-void TThreadedLogBackend::WriteEmergencyData(const TLogRecord& rec) {
- Impl_->WriteEmergencyData(rec);
-}
+void TThreadedLogBackend::WriteEmergencyData(const TLogRecord& rec) {
+ Impl_->WriteEmergencyData(rec);
+}
size_t TThreadedLogBackend::QueueSize() const {
return Impl_->QueueSize();