#pragma once
#include <kernel/searchlog/searchlog.h>
#include <library/cpp/logger/global/common.h>
#include <library/cpp/logger/log.h>

// indexerproxy index log
class TRTYIprLog: public TSearchLog {
public:
    TRTYIprLog(const TString& logType, ELogPriority priority = LOG_MAX_PRIORITY, size_t queueLen = 0)
            : TSearchLog(logType, priority, queueLen)
    {

    }
};

#define IPR_LOG if (!TLoggerOperator<TRTYIprLog>::Usage() || TLoggerOperator<TRTYIprLog>::Log().IsNullLog()); else TLoggerOperator<TRTYIprLog>::Log()

