|
TachyonUI 0.1.0
High-performance UI for building tools.
|
One argument. More...
#include <gui_core/diagnostics/gui_logging.h>
Classes | |
| union | [union].__unnamed0__ |
Public Types | |
| enum class | Kind : uint8_t { None = 0 , Int , Uint , Float , Text } |
| Which value the argument holds. More... | |
Public Attributes | |
| Kind | kind = Kind::None |
| Picks i, u, f or the text. | |
| union | |
| std::string_view | text |
| Kind::Text, while passed to LogMessage. | |
| uint16_t | textOffset = 0 |
| record only: where the text starts in LogRecord::text | |
| uint16_t | textLength = 0 |
| record only: the text's length in bytes | |
One argument.
While passed to LogMessage, text views the caller's string; inside a LogRecord it is empty and the text lives in the record (use LogArgText).
|
strong |
| Kind tachyon::Diagnostics::LogArg::kind = Kind::None |
Picks i, u, f or the text.
| std::string_view tachyon::Diagnostics::LogArg::text |
Kind::Text, while passed to LogMessage.
| uint16_t tachyon::Diagnostics::LogArg::textOffset = 0 |
record only: where the text starts in LogRecord::text
| uint16_t tachyon::Diagnostics::LogArg::textLength = 0 |
record only: the text's length in bytes