aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/logger/log.h
diff options
context:
space:
mode:
authormikari <mikari@yandex-team.ru>2022-02-10 16:48:47 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:47 +0300
commit2e0ed5ad2d70bf924ccd3cbbfab508784ab36325 (patch)
treec407f44de8fd4579bf0ceffc822d243ff76cfd26 /library/cpp/logger/log.h
parentab32245a89d56835833808c7e644b3da277d7085 (diff)
downloadydb-2e0ed5ad2d70bf924ccd3cbbfab508784ab36325.tar.gz
Restoring authorship annotation for <mikari@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/logger/log.h')
-rw-r--r--library/cpp/logger/log.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/logger/log.h b/library/cpp/logger/log.h
index 8be984ccc8..edb861c8f3 100644
--- a/library/cpp/logger/log.h
+++ b/library/cpp/logger/log.h
@@ -9,11 +9,11 @@
#include <util/generic/fwd.h>
#include <util/generic/ptr.h>
-#include <functional>
+#include <functional>
#include <cstdarg>
using TLogFormatter = std::function<TString(ELogPriority priority, TStringBuf)>;
-
+
// Logging facilities interface.
//
// ```cpp
@@ -109,7 +109,7 @@ private:
TIntrusivePtr<TImpl> Impl_;
TLogFormatter Formatter_;
};
-
+
THolder<TLogBackend> CreateLogBackend(const TString& fname, ELogPriority priority = LOG_MAX_PRIORITY, bool threaded = false);
THolder<TLogBackend> CreateFilteredOwningThreadedLogBackend(const TString& fname, ELogPriority priority = LOG_MAX_PRIORITY, size_t queueLen = 0);
THolder<TOwningThreadedLogBackend> CreateOwningThreadedLogBackend(const TString& fname, size_t queueLen = 0);