|
modm API documentation
|
Add a prefix to the log message. More...
#include <modm/debug/logger/style/prefix.hpp>
Public Typedefs | |
| typedef STYLE | Type |
Public Member Functions | |
| Prefix (const T &str, STYLE style) | |
| Prefix (const T &str, IODevice &device) | |
| void | write (char c) |
| Write one char to the sink. | |
| void | write (const char *s) |
Write a string that terminates with '\0' to the sink. | |
| void | flush () |
| The message is complete and can be written/send/displayed. | |
| void | parseArg (int argc, char *argv) |
| parse arguments that are given with the start of the program | |
Add a prefix to the log message.