aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/interface/logging/structured.h
blob: 1b011421396a30365649ae9dba70068fc83ecd55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include <yt/yt/core/logging/log_manager.h>

namespace NYT::NDetail {

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

inline static const TString StructuredLogTypeName = "yt_structured";

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

void InitializeStructuredLogging(
    NLogging::TLogManagerConfigPtr logManagerConfig,
    const TString& structuredLogPath);

void RegisterStructuredLogWriterFactory();

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

} // namespace NYT::NDetail