|
TachyonUI 0.1.0
High-performance UI for building tools.
|
One message as sinks and CopyRecentLogRecords see it. More...
#include <gui_core/diagnostics/gui_logging.h>
Public Attributes | |
| uint64_t | sequence = 0 |
| 1-based, increases by one per record | |
| int64_t | timestampNanos = 0 |
| steady clock, see SteadyClockNowNanos | |
| uint64_t | threadId = 0 |
| Hash of the emitting thread's std::thread::id. | |
| LogCategory | category |
| Where it comes from. | |
| LogSeverity | severity = LogSeverity::Info |
| How serious it is. | |
| std::string_view | messageTemplate |
| Static, with a {} per argument. | |
| const char * | file = "" |
| Source file of the call (FILE). | |
| uint32_t | line = 0 |
| Source line of the call. | |
| uint8_t | argCount = 0 |
| How many of args are used. | |
| LogArg | args [kMaxLogArgs] |
| The arguments; read text ones with LogArgText. | |
| char | text [kLogTextCapacity] |
| The text arguments' bytes. | |
One message as sinks and CopyRecentLogRecords see it.
Fixed size; its strings are static or inside the record.
| uint64_t tachyon::Diagnostics::LogRecord::sequence = 0 |
1-based, increases by one per record
| int64_t tachyon::Diagnostics::LogRecord::timestampNanos = 0 |
steady clock, see SteadyClockNowNanos
| uint64_t tachyon::Diagnostics::LogRecord::threadId = 0 |
Hash of the emitting thread's std::thread::id.
| LogCategory tachyon::Diagnostics::LogRecord::category |
Where it comes from.
| LogSeverity tachyon::Diagnostics::LogRecord::severity = LogSeverity::Info |
How serious it is.
| std::string_view tachyon::Diagnostics::LogRecord::messageTemplate |
Static, with a {} per argument.
| const char* tachyon::Diagnostics::LogRecord::file = "" |
Source file of the call (FILE).
| uint32_t tachyon::Diagnostics::LogRecord::line = 0 |
Source line of the call.
| uint8_t tachyon::Diagnostics::LogRecord::argCount = 0 |
How many of args are used.
| LogArg tachyon::Diagnostics::LogRecord::args[kMaxLogArgs] |
The arguments; read text ones with LogArgText.
| char tachyon::Diagnostics::LogRecord::text[kLogTextCapacity] |
The text arguments' bytes.