#include "logger_config.h"

#include "config.h"
#include "get_value.h"

namespace NRTYServer {

TLoggerConfig::TLoggerConfig(const TRTYServerConfig& owner)
    : Owner(owner)
{
}

TString TLoggerConfig::ToString() const {
    TString s;
    TStringOutput so(s);
    so << "<Logger>" << Endl;
    so << "JournalDir: " << JournalDir << Endl;
    so << "</Logger>" << Endl;
    return s;
}

void TLoggerConfig::Init(const TYandexConfig::Directives& directives) {
    GET_VALUE(JournalDir);
}

}
