KROYSDOCS
HomeWhat's newv0.1.0
C/C++ SDK / C ABI · Core (all targets) / KroysLogEntry

KroysLogEntry

One console log entry (core->ReadLog, 2.2). The strings are valid during the Visit call only.

Kindstruct
Headerkroys/kroys_plugin.h
Members6
DECLARATION

Declaration

Declared in kroys/kroys_plugin.h.

kroys_plugin.h
typedef struct KroysLogEntry { ... } KroysLogEntry;
REFERENCE

Members

Fields
#uint32_t structSize;

Size of this struct as the writer compiled it (sizeof); the reader uses it to detect members appended by later minor versions.

field
#int32_t severity;

KROYS_SEVERITY_INFO, _WARNING or _ERROR (trace and debug entries: INFO).

field
#uint64_t sequence;

Strictly increasing per process; pass the newest one seen to ReadLog.

field
#const char* category;

Log category: "General", "Script", "Editor", ...

field
#const char* message;

The UTF-8 message text.

field
#const char* timestamp;

Local time of the entry as text.

field
Members
uint32_t structSize;
int32_t severity;
uint64_t sequence;
const char* category;
const char* message;
const char* timestamp;

KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.