| Members | Descriptions |
|---|---|
namespace logger |
Namespace for the entire logging library. |
namespace logger::detail |
Namespace for the entire logging library.
| Members | Descriptions |
|---|---|
public void init() |
Optional function to make sure Windows terminals will render colors. Colors are enabled by default, but if the environment has them completely disabled, ANSI codes will render as gibberish. |
public void info(std::string & msg) |
For simple messages and notifications. |
public void debug(std::string & msg) |
For developers to find crucial info and validate data. |
public void input(std::string & msg) |
For prompting the user for input. Adds '>>>' to let the user know its a pompt. |
public void warning(std::string & msg) |
For letting the user know about possible issues. |
public void error(std::string & msg) |
For showing the user system error messages that will impact functionality. |
public void fatal(std::string & msg) |
For alerting to an error that will completely halt the program or cause destructive behavior. |
public void init()
Optional function to make sure Windows terminals will render colors. Colors are enabled by default, but if the environment has them completely disabled, ANSI codes will render as gibberish.
public void info(std::string & msg)
For simple messages and notifications.
msgstd::stringto be displayed to the user.
public void debug(std::string & msg)
For developers to find crucial info and validate data.
msg'std::string' to be displayed, std::to_string() works.
public void input(std::string & msg)
For prompting the user for input. Adds '>>>' to let the user know its a pompt.
msgstd::stringto be displayed to the user.
public void warning(std::string & msg)
For letting the user know about possible issues.
msgeither ane.what()or a custom warning.
public void error(std::string & msg)
For showing the user system error messages that will impact functionality.
msgeither ane.what()or a custom error message.
public void fatal(std::string & msg)
For alerting to an error that will completely halt the program or cause destructive behavior.
msgeithere.what()or a custom error message.
| Members | Descriptions |
|---|---|
public inline const char * emit(const char * code) |
public inline const char * emit(const char * code)
Generated by Moxygen