loom
1/*
2MIT License
3
4Copyright (c) 2021 МГТУ им. Н.Э. Баумана, кафедра ИУ-6, Михаил Фетисов,
5
6https://bmstu.codes/lsx/simodo
7*/
8
9#include "simodo/inout/reporter/StreamReporter.h"
10
11#include "simodo/inout/convert/functions.h"
12
13#include <iostream>
14
15namespace simodo::inout
16{
17void StreamReporter::report(const SeverityLevel level, const Location &, const std::string &briefly, const std::string &atlarge)
18{
19_out << getSeverityLevelName(level) << briefly << std::endl;
20if (!atlarge.empty())
21_out << atlarge << std::endl;
22}
23
24}