|
ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
|
Enumerations | |
| enum class | Level { DEBUG , INFO , WARN , ERROR } |
| Log severity levels. More... | |
Functions | |
| void | setLevel (Level level) |
| Set the minimum log level (messages below this are ignored). | |
| void | setOutput (std::ostream &stream) |
| Set the output stream (default: std::cerr). | |
| void | debug (const std::string &message) |
| Log a debug message. | |
| void | info (const std::string &message) |
| Log an info message. | |
| void | warn (const std::string &message) |
| Log a warning message. | |
| void | error (const std::string &message) |
| Log an error message. | |
|
strong |
| void asw::log::debug | ( | const std::string & | message | ) |
| void asw::log::error | ( | const std::string & | message | ) |
| void asw::log::info | ( | const std::string & | message | ) |
| void asw::log::setLevel | ( | Level | level | ) |
| void asw::log::setOutput | ( | std::ostream & | stream | ) |