34 template <
typename... Args>
37 std::ostringstream oss;
Simple data structure to hold the messages.
EMessageType _type
The type of the message.
Message(EMessageType type, const std::string &msg)
std::string _msg
The text of the message.
Keeps the error and warning messages.
unsigned int _n_warnings
The number of warnings.
void add(EMessageType type, Args &&... args)
Add a message to the log.
void emitLoggedErrors() const
Calls mooseError if there are any logged errors.
std::vector< Message * > _msgs
The list of logged messages.
unsigned int _n_errors
The number of errors.
unsigned int getNumberOfWarnings() const
Return the number of warnings.
void emitLoggedWarnings() const
Calls mooseWarning if there are any logged warnings.
unsigned int getNumberOfErrors() const
Return the number of errors.
void mooseStreamAll(std::ostringstream &ss)