clang::mrdocs::report::print

Report a message to the console.

Synopses

Declared in <mrdocs/Support/Report.hpp>
Report a message to the console.
void
print(std::string const& text);


» more... Report a message to the console.
void
print(
    Level level,
    std::string const& text,
    std::source_location const* loc = nullptr,
    Error const* e = nullptr);


» more...

Parameters

Name Description
text The message to print. A trailing newline will be added to the message automatically.
level 0 to 4 The severity of the report. 0 is debug and 4 is fatal.
loc The source location of the report. If this value is null, no location is printed.

Created with MrDocs