aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/logger/global/global.cpp
diff options
context:
space:
mode:
authorivanmorozov <ivanmorozov@yandex-team.ru>2022-02-10 16:47:34 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:34 +0300
commit464ba3814a83db4f2d5327393b0b6eaf0c86bfd7 (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/logger/global/global.cpp
parentcba5d9a444e2cfe105f55ccda66cd21d50440017 (diff)
downloadydb-464ba3814a83db4f2d5327393b0b6eaf0c86bfd7.tar.gz
Restoring authorship annotation for <ivanmorozov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/logger/global/global.cpp')
-rw-r--r--library/cpp/logger/global/global.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/logger/global/global.cpp b/library/cpp/logger/global/global.cpp
index 1a9dc8c1c7..9fbd10f666 100644
--- a/library/cpp/logger/global/global.cpp
+++ b/library/cpp/logger/global/global.cpp
@@ -1,12 +1,12 @@
-#include "global.h"
-
+#include "global.h"
+
static void DoInitGlobalLog(THolder<TGlobalLog> logger, THolder<ILoggerFormatter> formatter) {
TLoggerOperator<TGlobalLog>::Set(logger.Release());
if (!formatter) {
formatter.Reset(CreateRtyLoggerFormatter());
}
TLoggerFormatterOperator::Set(formatter.Release());
-}
+}
void DoInitGlobalLog(const TString& logType, const int logLevel, const bool rotation, const bool startAsDaemon, THolder<ILoggerFormatter> formatter, bool threaded) {
DoInitGlobalLog(
@@ -35,9 +35,9 @@ template <>
TNullLog* CreateDefaultLogger<TNullLog>() {
return new TNullLog("null");
}
-
-NPrivateGlobalLogger::TVerifyEvent::~TVerifyEvent() {
- const TString info = Str();
- FATAL_LOG << info << Endl;
+
+NPrivateGlobalLogger::TVerifyEvent::~TVerifyEvent() {
+ const TString info = Str();
+ FATAL_LOG << info << Endl;
Y_FAIL("%s", info.data());
-}
+}