diff options
author | sabdenovch <sabdenovch@yandex-team.com> | 2024-12-25 00:18:49 +0300 |
---|---|---|
committer | sabdenovch <sabdenovch@yandex-team.com> | 2024-12-25 00:40:58 +0300 |
commit | 75f1af270a6cf9a17b65fde6d12efbb94f235960 (patch) | |
tree | 020a041652e4a761e31486a62d14a1f0438b1a7d /library/cpp | |
parent | 51158be0406575d66f3d630816647d4660973b94 (diff) | |
download | ydb-75f1af270a6cf9a17b65fde6d12efbb94f235960.tar.gz |
Fixed bug in logging
commit_hash:a31e79330e3ec72361743d932a47fc67f92fb7a0
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/yt/logging/logger-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/yt/logging/logger-inl.h b/library/cpp/yt/logging/logger-inl.h index f1be10827f..0637292037 100644 --- a/library/cpp/yt/logging/logger-inl.h +++ b/library/cpp/yt/logging/logger-inl.h @@ -307,10 +307,10 @@ inline void LogEventImpl( event.SourceFile = sourceLocation.File; event.SourceLine = sourceLocation.Line; event.Anchor = anchor; - logger.Write(std::move(event)); if (Y_UNLIKELY(event.Level >= ELogLevel::Alert)) { OnCriticalLogEvent(logger, event); } + logger.Write(std::move(event)); } } // namespace NDetail |