23 std::string Name =
"";
25 std::ostream &Out = std::cout;
33 logger(
const std::string &Name =
"");
42 template <
typename... Targs>
43 void Info(std::string_view Format, Targs&&... Args)
const
47 std::vformat(Format, std::make_format_args(Args...)) <<
57 template <
typename... Targs>
58 void Success(std::string_view Format, Targs&&... Args)
const
63 std::vformat(Format, std::make_format_args(Args...)) <<
73 template <
typename... Targs>
74 void Warn(std::string_view Format, Targs&&... Args)
const
79 std::vformat(Format, std::make_format_args(Args...)) <<
89 template <
typename... Targs>
90 void Error(std::string_view Format, Targs&&... Args)
const
95 std::vformat(Format, std::make_format_args(Args...)) <<
void Warn(std::string_view Format, Targs &&... Args) const
void Info(std::string_view Format, Targs &&... Args) const
void Success(std::string_view Format, Targs &&... Args) const
void SetStream(std::ostream OutStream)
logger(const std::string &Name="")
void Error(std::string_view Format, Targs &&... Args) const
Helper to setting color of text in console implementation module.
const std::string color_literal_reset()
std::string color_literal(color ForegroundColor)
const std::string CurrentTime()