diff options
| author | iddqd <[email protected]> | 2022-02-10 16:49:46 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:46 +0300 | 
| commit | ff241e1daf76d79ed38015cdb76d55eb3a33ac27 (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/logger/log.cpp | |
| parent | 07fce9c5f7771600d0b3d70e1f88fd8a7e164d85 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/logger/log.cpp')
| -rw-r--r-- | library/cpp/logger/log.cpp | 16 | 
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/logger/log.cpp b/library/cpp/logger/log.cpp index 8d83a611962..e1d70cc3d28 100644 --- a/library/cpp/logger/log.cpp +++ b/library/cpp/logger/log.cpp @@ -1,5 +1,5 @@ -#include "log.h"  -#include "uninitialized_creator.h"  +#include "log.h" +#include "uninitialized_creator.h"  #include "filter.h"  #include "null.h"  #include "stream.h" @@ -13,9 +13,9 @@  #include <util/generic/yexception.h>  THolder<TLogBackend> CreateLogBackend(const TString& fname, ELogPriority priority, bool threaded) { -    TLogBackendCreatorUninitialized creator;  -    creator.InitCustom(fname, priority, threaded);  -    return creator.CreateLogBackend();  +    TLogBackendCreatorUninitialized creator; +    creator.InitCustom(fname, priority, threaded); +    return creator.CreateLogBackend();  }  THolder<TLogBackend> CreateFilteredOwningThreadedLogBackend(const TString& fname, ELogPriority priority, size_t queueLen) { @@ -23,7 +23,7 @@ THolder<TLogBackend> CreateFilteredOwningThreadedLogBackend(const TString& fname  }  THolder<TOwningThreadedLogBackend> CreateOwningThreadedLogBackend(const TString& fname, size_t queueLen) { -    return MakeHolder<TOwningThreadedLogBackend>(CreateLogBackend(fname, LOG_MAX_PRIORITY, false).Release(), queueLen);  +    return MakeHolder<TOwningThreadedLogBackend>(CreateLogBackend(fname, LOG_MAX_PRIORITY, false).Release(), queueLen);  }  class TLog::TImpl: public TAtomicRefCount<TImpl> { @@ -131,7 +131,7 @@ TLog::TLog()  }  TLog::TLog(const TString& fname, ELogPriority priority) -    : TLog(CreateLogBackend(fname, priority, false))  +    : TLog(CreateLogBackend(fname, priority, false))  {  } @@ -206,7 +206,7 @@ ELogPriority TLog::DefaultPriority() const noexcept {  bool TLog::OpenLog(const char* path, ELogPriority lp) {      if (path) { -        ResetBackend(CreateLogBackend(path, lp));  +        ResetBackend(CreateLogBackend(path, lp));      } else {          ResetBackend(MakeHolder<TStreamLogBackend>(&Cerr));      }  | 
