diff options
author | apollo1321 <[email protected]> | 2025-09-10 22:18:08 +0300 |
---|---|---|
committer | apollo1321 <[email protected]> | 2025-09-10 22:31:50 +0300 |
commit | bd4d4e4dd6779da724cd96a2e23a364588d26659 (patch) | |
tree | 8f2578717af788b66f33b72c5432dfd32f9fc620 /library/cpp | |
parent | efced66338e824f7c9ee91b906dbe37aac041f51 (diff) |
Fix IsLevelEnabled check in YT logger
commit_hash:4662067645a9302622ac1ac352f71594523c0aae
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 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; } |