diff options
author | Alexander Smirnov <alex@ydb.tech> | 2024-12-24 23:15:05 +0000 |
---|---|---|
committer | Alexander Smirnov <alex@ydb.tech> | 2024-12-24 23:15:05 +0000 |
commit | 59c9675625adf036a007e8e7db9ef26cbe183626 (patch) | |
tree | 1ccd4c7726af8dc3582d51627a689dacb5859df1 /library | |
parent | bd0e2de0b1035962a4d5b9e847eaa6508fad7fcf (diff) | |
parent | 75f1af270a6cf9a17b65fde6d12efbb94f235960 (diff) | |
download | ydb-59c9675625adf036a007e8e7db9ef26cbe183626.tar.gz |
Merge branch 'rightlib' into merge-libs-241224-2313
Diffstat (limited to 'library')
-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 |