#pragma once #include #include namespace NYql::NLog { using TFormatter = std::function; TString LegacyFormat(const TLogRecord& rec); TString JsonFormat(const TLogRecord& rec); TAutoPtr MakeFormattingLogBackend(TFormatter formatter, TAutoPtr child); } // namespace NYql::NLog