diff options
Diffstat (limited to 'library/cpp/logger/null_creator.cpp')
-rw-r--r-- | library/cpp/logger/null_creator.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/library/cpp/logger/null_creator.cpp b/library/cpp/logger/null_creator.cpp index 4258fb25fd..9f63d5c739 100644 --- a/library/cpp/logger/null_creator.cpp +++ b/library/cpp/logger/null_creator.cpp @@ -1,17 +1,17 @@ -#include "null_creator.h" -#include "null.h" - -THolder<TLogBackend> TNullLogBackendCreator::DoCreateLogBackend() const { - return MakeHolder<TNullLogBackend>(); -} - -ILogBackendCreator::TFactory::TRegistrator<TNullLogBackendCreator> TNullLogBackendCreator::RegistrarDevNull("/dev/null"); -ILogBackendCreator::TFactory::TRegistrator<TNullLogBackendCreator> TNullLogBackendCreator::RegistrarNull("null"); - - -void TNullLogBackendCreator::DoToJson(NJson::TJsonValue& /*value*/) const { -} - -TNullLogBackendCreator::TNullLogBackendCreator() - : TLogBackendCreatorBase("null") -{} +#include "null_creator.h" +#include "null.h" + +THolder<TLogBackend> TNullLogBackendCreator::DoCreateLogBackend() const { + return MakeHolder<TNullLogBackend>(); +} + +ILogBackendCreator::TFactory::TRegistrator<TNullLogBackendCreator> TNullLogBackendCreator::RegistrarDevNull("/dev/null"); +ILogBackendCreator::TFactory::TRegistrator<TNullLogBackendCreator> TNullLogBackendCreator::RegistrarNull("null"); + + +void TNullLogBackendCreator::DoToJson(NJson::TJsonValue& /*value*/) const { +} + +TNullLogBackendCreator::TNullLogBackendCreator() + : TLogBackendCreatorBase("null") +{} |