|
Fray Engine
|
One log line from a process. This store instance assigns arrivedUs as an increasing microsecond timestamp used for sorting and paging. More...
#include <log_store.hpp>
Public Attributes | |
| std::string | uid |
| Globally unique lowercase hexadecimal entry identity. | |
| std::uint64_t | arrivedUs = 0 |
| Store-assigned arrival timestamp in microseconds since the Unix epoch. | |
| int | process = 0 |
| Source process identifier. | |
| std::string | level |
| Log severity label. | |
| std::uint32_t | thread = 0 |
| Source thread identifier. | |
| std::string | project |
| Project identifier; empty denotes the application. | |
| std::string | text |
| Log message text. | |
| int | kind = 0 |
| What the row records: 0 line, 1 command, 2 receipt, 3 notification, 4 session start (LogEntryKind). | |
| int | destination = 0 |
| Destination process of a command or receipt; zero for lines. | |
| std::uint64_t | operation = 0 |
| Command id of a command or receipt; zero for lines. | |
| std::string | refUid |
| For a receipt, the UID of the command it confirms; empty otherwise. | |
| bool | consoleVisible = true |
| Whether this entry may be delivered to the Console or loading window. | |
One log line from a process. This store instance assigns arrivedUs as an increasing microsecond timestamp used for sorting and paging.
Definition at line 35 of file log_store.hpp.
| std::uint64_t fray::logs::Entry::arrivedUs = 0 |
Store-assigned arrival timestamp in microseconds since the Unix epoch.
Definition at line 42 of file log_store.hpp.
| bool fray::logs::Entry::consoleVisible = true |
Whether this entry may be delivered to the Console or loading window.
Definition at line 72 of file log_store.hpp.
| int fray::logs::Entry::destination = 0 |
Destination process of a command or receipt; zero for lines.
Definition at line 66 of file log_store.hpp.
| int fray::logs::Entry::kind = 0 |
What the row records: 0 line, 1 command, 2 receipt, 3 notification, 4 session start (LogEntryKind).
Definition at line 64 of file log_store.hpp.
| std::string fray::logs::Entry::level |
Log severity label.
Definition at line 50 of file log_store.hpp.
| std::uint64_t fray::logs::Entry::operation = 0 |
Command id of a command or receipt; zero for lines.
Definition at line 68 of file log_store.hpp.
| int fray::logs::Entry::process = 0 |
Source process identifier.
Definition at line 46 of file log_store.hpp.
| std::string fray::logs::Entry::project |
Project identifier; empty denotes the application.
Definition at line 58 of file log_store.hpp.
| std::string fray::logs::Entry::refUid |
For a receipt, the UID of the command it confirms; empty otherwise.
Definition at line 70 of file log_store.hpp.
| std::string fray::logs::Entry::text |
Log message text.
Definition at line 62 of file log_store.hpp.
| std::uint32_t fray::logs::Entry::thread = 0 |
Source thread identifier.
Definition at line 54 of file log_store.hpp.
| std::string fray::logs::Entry::uid |
Globally unique lowercase hexadecimal entry identity.
Definition at line 38 of file log_store.hpp.