diff options
author | iddqd <iddqd@yandex-team.ru> | 2022-02-10 16:49:46 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:46 +0300 |
commit | ff241e1daf76d79ed38015cdb76d55eb3a33ac27 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/logger/system_creator.h | |
parent | 07fce9c5f7771600d0b3d70e1f88fd8a7e164d85 (diff) | |
download | ydb-ff241e1daf76d79ed38015cdb76d55eb3a33ac27.tar.gz |
Restoring authorship annotation for <iddqd@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/logger/system_creator.h')
-rw-r--r-- | library/cpp/logger/system_creator.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/library/cpp/logger/system_creator.h b/library/cpp/logger/system_creator.h index 3f2677bad6..e5321267e9 100644 --- a/library/cpp/logger/system_creator.h +++ b/library/cpp/logger/system_creator.h @@ -1,20 +1,20 @@ -#pragma once - -#include "backend_creator.h" -#include "system.h" - -class TSysLogBackendCreator : public TLogBackendCreatorBase { -public: - TSysLogBackendCreator(); - virtual bool Init(const IInitContext& ctx) override; - static TFactory::TRegistrator<TSysLogBackendCreator> Registrar; - -protected: - virtual void DoToJson(NJson::TJsonValue& value) const override; - -private: - virtual THolder<TLogBackend> DoCreateLogBackend() const override; - TString Ident; - TSysLogBackend::EFacility Facility = TSysLogBackend::TSYSLOG_LOCAL0; - int Flags = 0; -}; +#pragma once + +#include "backend_creator.h" +#include "system.h" + +class TSysLogBackendCreator : public TLogBackendCreatorBase { +public: + TSysLogBackendCreator(); + virtual bool Init(const IInitContext& ctx) override; + static TFactory::TRegistrator<TSysLogBackendCreator> Registrar; + +protected: + virtual void DoToJson(NJson::TJsonValue& value) const override; + +private: + virtual THolder<TLogBackend> DoCreateLogBackend() const override; + TString Ident; + TSysLogBackend::EFacility Facility = TSysLogBackend::TSYSLOG_LOCAL0; + int Flags = 0; +}; |