From dab0d384d5e9c65b0d7f467bc3e21728cd179ba3 Mon Sep 17 00:00:00 2001
From: conterouz <conterouz@yandex-team.com>
Date: Mon, 13 Nov 2023 11:26:20 +0300
Subject: =?UTF-8?q?=D0=A1=D0=B4=D0=B5=D0=BB=D0=B0=D1=82=D1=8C=20=D0=BD?=
 =?UTF-8?q?=D0=BE=D1=80=D0=BC=D0=B0=D0=BB=D1=8C=D0=BD=D0=BE=D0=B5=20=D0=BB?=
 =?UTF-8?q?=D0=BE=D0=B3=D0=B3=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8?=
 =?UTF-8?q?=D0=B5=20=D0=B2=20UaaS?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 library/cpp/logger/log.h | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'library/cpp/logger/log.h')

diff --git a/library/cpp/logger/log.h b/library/cpp/logger/log.h
index 7520cc1530..6c90b0cb29 100644
--- a/library/cpp/logger/log.h
+++ b/library/cpp/logger/log.h
@@ -54,6 +54,9 @@ public:
     // Check if underlying backend is defined and is not null.
     // NOTE: not thread safe with respect to `ResetBackend` and `ReleaseBackend`.
     bool IsNullLog() const noexcept;
+    bool IsNotNullLog() const noexcept {
+        return !IsNullLog();
+    }
 
     // Write message to the log.
     //
-- 
cgit v1.2.3