log_entry 
A datum which contains log information.
Vars | |
| category | Category of the log entry. |
|---|---|
| data | Data of the log entry; optional. |
| flags | Bitfield that describes how exactly to log stuff exactly See code/__DEFINES/logging/dm |
| id | Unique id of the log entry. |
| message | Message of the log entry. |
| next_id | Next id to assign to a log entry. |
| schema_version | Schema version of the log entry. |
| semver_store | Semver store of the log entry, used to store the schema of data entries |
| timestamp | Unix timestamp of the log entry. |
Procs | |
| to_json_text | Converts the log entry to a JSON string. |
| to_readable_text | Converts the log entry to a human-readable string. |
| write_entry_to_file | Writes the log entry to a file. |
| write_readable_entry_to_file | Writes the log entry to a file as a human-readable string. |
Var Details
category 
Category of the log entry.
data 
Data of the log entry; optional.
flags 
Bitfield that describes how exactly to log stuff exactly See code/__DEFINES/logging/dm
id 
Unique id of the log entry.
message 
Message of the log entry.
next_id 
Next id to assign to a log entry.
schema_version 
Schema version of the log entry.
semver_store 
Semver store of the log entry, used to store the schema of data entries
timestamp 
Unix timestamp of the log entry.
Proc Details
to_json_text
Converts the log entry to a JSON string.
to_readable_text
Converts the log entry to a human-readable string.
write_entry_to_file
Writes the log entry to a file.
write_readable_entry_to_file
Writes the log entry to a file as a human-readable string.