|
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++.
|
Structured logging system. More...
#include <iostream>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | asw |
| namespace | asw::log |
Enumerations | |
| enum class | asw::log::Level { asw::log::DEBUG , asw::log::INFO , asw::log::WARN , asw::log::ERROR } |
| Log severity levels. More... | |
Functions | |
| void | asw::log::setLevel (Level level) |
| Set the minimum log level (messages below this are ignored). | |
| void | asw::log::setOutput (std::ostream &stream) |
| Set the output stream (default: std::cerr). | |
| void | asw::log::debug (const std::string &message) |
| Log a debug message. | |
| void | asw::log::info (const std::string &message) |
| Log an info message. | |
| void | asw::log::warn (const std::string &message) |
| Log a warning message. | |
| void | asw::log::error (const std::string &message) |
| Log an error message. | |