aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/service/pages/pre_mon_page.cpp
blob: c2244d559a48b298edb3dd9bb966e6a1187d27f5 (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&) {
}