![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
Classes | |
| struct | Info |
| Write a meta data message to the output. More... | |
| struct | Scoped |
| Log the entry and exit of a scope. More... | |
| struct | StdErr |
| Write all output to std::cerr. More... | |
Functions | |
| std::string | adjDetails (std::string const &str) |
| shortening the function signatures to become human-readable | |
| std::string | adjStringLength (std::string str, size_t n, char const paddingCharacter=' ') |
| Adjust the length of a string to a minimum length. | |
| void | indent (auto &writer, int indentLvl) |
| Indent the message if needed and forward it to the output writer. | |
|
inline |
shortening the function signatures to become human-readable
If the name is simplified depends on the preprocessor define ALPAKA_LOG_DETAIL_SHORT
Definition at line 108 of file logger.hpp.
|
inline |
Adjust the length of a string to a minimum length.
| str | input string |
| n | minimum number of characters, if the string is shorter than this number, it will be padded with a padding character |
Definition at line 94 of file logger.hpp.
|
inline |
Indent the message if needed and forward it to the output writer.
If input is indented depends on the preprocessor define ALPAKA_LOG_INDENT
Definition at line 77 of file logger.hpp.