A minimalist logger stored as a std::string providing sprintf functionality.
More...
#include <reels.h>
|
| void | log_printf (const char *fmt,...) |
| | Logging method wrapper supporting variable arguments. More...
|
| |
| void | log_printf (const char *fmt, va_list args) |
| | Add a nicely formatted string smaller than 256 chars to the logger. More...
|
| |
A minimalist logger stored as a std::string providing sprintf functionality.
◆ log_printf() [1/2]
| void reels::Logger::log_printf |
( |
const char * |
fmt, |
|
|
va_list |
args |
|
) |
| |
|
inline |
Add a nicely formatted string smaller than 256 chars to the logger.
- Parameters
-
| fmt | A vsnprintf compatible format definition. |
| args | A variable list of arguments stored as a va_list. |
◆ log_printf() [2/2]
| void reels::Logger::log_printf |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
|
inline |
Logging method wrapper supporting variable arguments.
- Parameters
-
| fmt | A vsnprintf compatible format definition. |
| ... | A variable list of arguments. |
This method calls the other log_printf() override with the arguments in a va_list.
◆ log
| String reels::Logger::log = "" |
The std::string storing the content of the Logger is public.
The documentation for this class was generated from the following file: