aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/service/pages/pre_mon_page.cpp
blob: fc03a19b80b20ff63b2238a3f993d0039104f296 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "pre_mon_page.h"

using namespace NMonitoring;

void TPreMonPage::OutputContent(NMonitoring::IMonHttpRequest& request) {
    auto& out = request.Output();
    if (PreTag) {
        BeforePre(request);
        out << "<pre>\n";
        OutputText(out, request);
        out << "</pre>\n";
    } else {
        OutputText(out, request);
    }
}

void TPreMonPage::BeforePre(NMonitoring::IMonHttpRequest&) {
}