summaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorapollo1321 <[email protected]>2025-09-10 22:18:08 +0300
committerapollo1321 <[email protected]>2025-09-10 22:31:50 +0300
commitbd4d4e4dd6779da724cd96a2e23a364588d26659 (patch)
tree8f2578717af788b66f33b72c5432dfd32f9fc620 /library/cpp
parentefced66338e824f7c9ee91b906dbe37aac041f51 (diff)
Fix IsLevelEnabled check in YT logger
commit_hash:4662067645a9302622ac1ac352f71594523c0aae
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/yt/logging/logger-inl.h2
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 c05fc0e3825..78b916a21a9 100644
--- a/library/cpp/yt/logging/logger-inl.h
+++ b/library/cpp/yt/logging/logger-inl.h
@@ -77,7 +77,7 @@ Y_FORCE_INLINE ELogLevel TLogger::GetEffectiveLoggingLevel(ELogLevel level, cons
Y_FORCE_INLINE bool TLogger::IsLevelEnabled(ELogLevel level) const
{
- if (!Category_) {
+ if (!Category_ || level < MinLevel_) {
return false;
}