diff options
| author | hippskill <[email protected]> | 2022-02-10 16:50:12 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:12 +0300 |
| commit | bd077d09a08e659195376ee97dc24728bb554246 (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/logger | |
| parent | 6362c4a2681cc317ffd22633d773f02de0d13697 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/logger')
| -rw-r--r-- | library/cpp/logger/log.cpp | 12 | ||||
| -rw-r--r-- | library/cpp/logger/log.h | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/logger/log.cpp b/library/cpp/logger/log.cpp index a69cb3bea84..e1d70cc3d28 100644 --- a/library/cpp/logger/log.cpp +++ b/library/cpp/logger/log.cpp @@ -1,7 +1,7 @@ #include "log.h" #include "uninitialized_creator.h" -#include "filter.h" -#include "null.h" +#include "filter.h" +#include "null.h" #include "stream.h" #include "thread.h" @@ -20,12 +20,12 @@ THolder<TLogBackend> CreateLogBackend(const TString& fname, ELogPriority priorit THolder<TLogBackend> CreateFilteredOwningThreadedLogBackend(const TString& fname, ELogPriority priority, size_t queueLen) { return MakeHolder<TFilteredLogBackend>(CreateOwningThreadedLogBackend(fname, queueLen), priority); -} - +} + THolder<TOwningThreadedLogBackend> CreateOwningThreadedLogBackend(const TString& fname, size_t queueLen) { return MakeHolder<TOwningThreadedLogBackend>(CreateLogBackend(fname, LOG_MAX_PRIORITY, false).Release(), queueLen); -} - +} + class TLog::TImpl: public TAtomicRefCount<TImpl> { class TPriorityLogStream final: public IOutputStream { public: diff --git a/library/cpp/logger/log.h b/library/cpp/logger/log.h index 078fa1b3066..8be984ccc8d 100644 --- a/library/cpp/logger/log.h +++ b/library/cpp/logger/log.h @@ -1,10 +1,10 @@ #pragma once -#include "backend.h" +#include "backend.h" #include "element.h" #include "priority.h" -#include "record.h" -#include "thread.h" +#include "record.h" +#include "thread.h" #include <util/generic/fwd.h> #include <util/generic/ptr.h> |
