aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/logging/backends/arcadia/backend.h
blob: 251918c97267cf6bab046d65c14f9f8042cbf719 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <library/cpp/yt/logging/public.h>

#include <util/generic/ptr.h>

class TLogBackend;

namespace NYT::NLogging {

////////////////////////////////////////////////////////////////////////////////

//! Create TLogBackend which redirects log messages to |logger|.
THolder<TLogBackend> CreateArcadiaLogBackend(const TLogger& logger);

////////////////////////////////////////////////////////////////////////////////

} // namespace NYT::NLogging