Logger
-
class Logger
Class for logging errors and warnings.
Public Functions
-
template<typename ...T>
inline void warning(fmt::format_string<T...> format, T... args) Log a warning.
-
std::size_t get_num_entries() const
Get the number of logged errors/warnings.
- Returns:
Number of logger errors/warnings
-
std::size_t get_num_errors() const
Get the number of errors.
- Returns:
Number of errors
-
std::size_t get_num_warnings() const
Get the number of warnings.
- Returns:
Number of warnings
-
void print() const
Print logged errors and warnings.
-
template<typename ...T>