aboutsummaryrefslogblamecommitdiffstats
path: root/library/cpp/yt/logging/public.h
blob: 1e2b59ca0d3ebedda38572c73af7bc88f79d7c85 (plain) (tree)





































                                                                                
#pragma once

#include <library/cpp/yt/misc/enum.h>

namespace NYT::NLogging {

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

// Any change to this enum must be also propagated to FormatLevel.
DEFINE_ENUM(ELogLevel,
    (Minimum)
    (Trace)
    (Debug)
    (Info)
    (Warning)
    (Error)
    (Alert)
    (Fatal)
    (Maximum)
);

DEFINE_ENUM(ELogFamily,
    (PlainText)
    (Structured)
);

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

struct TLoggingCategory;
struct TLoggingAnchor;
struct TLogEvent;
struct TLoggingContext;

class TLogger;
struct ILogManager;

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

} // namespace NYT::NLogging