pre_mon_page.cpp 416 B

123456789101112131415161718
  1. #include "pre_mon_page.h"
  2. using namespace NMonitoring;
  3. void TPreMonPage::OutputContent(NMonitoring::IMonHttpRequest& request) {
  4. auto& out = request.Output();
  5. if (PreTag) {
  6. BeforePre(request);
  7. out << "<pre>\n";
  8. OutputText(out, request);
  9. out << "</pre>\n";
  10. } else {
  11. OutputText(out, request);
  12. }
  13. }
  14. void TPreMonPage::BeforePre(NMonitoring::IMonHttpRequest&) {
  15. }