80 void error(
const std::string& name,
const std::basic_string<T>& msg,
const std::vector<std::string>& args = {})
82 auto formattedMsg = format::format(msg, args);
84 std::cerr << formattedMsg <<
reset <<
'\n';
88 logger.error(formattedMsg);
107 void warning(
const std::basic_string<T>& name,
108 const std::basic_string<T>& msg,
109 const std::vector<std::string>& args = {})
112 std::cout << format::format(msg, args) <<
reset <<
'\n';
131 void info(
const std::basic_string<T>& name,
132 const std::basic_string<T>& msg,
133 const std::vector<std::string>& args = {})
137 std::cout << format::format(msg, args) <<
reset <<
'\n';
The Logger class provides logging functionality.
Definition logging.hpp:78
The namespace containing various unicode symbols.
Definition symbols.cpp:124
constexpr std::string_view LARGE_DOT
The large dot symbol (Unicode U+25C9)
Definition symbols.hpp:173
std::ostream & brightGreen(std::ostream &stream)
Set the text color to bright green.
Definition colors.cpp:132
std::ostream & red(std::ostream &stream)
Set the text color to red.
Definition colors.cpp:69
std::ostream & yellow(std::ostream &stream)
Set the text color to yellow.
Definition colors.cpp:83
The namespace containing utility functions for the Steppable library.
Definition argParse.cpp:40
std::ostream & reset(std::ostream &stream)
Reset the text color and format to the default values.
Definition colors.cpp:53
The namespace containing internal functions for the Steppable library.
Definition argParse.cpp:40
Message-printing utilities for Steppable.
void warning(const std::basic_string< T > &name, const std::basic_string< T > &msg, const std::vector< std::string > &args={})
Prints a warning message.
Definition output.hpp:107
void error(const std::string &name, const std::basic_string< T > &msg, const std::vector< std::string > &args={})
Prints an error message.
Definition output.hpp:80
void info(const std::basic_string< T > &name, const std::basic_string< T > &msg, const std::vector< std::string > &args={})
Prints an info message.
Definition output.hpp:131