> home > Custom Layer Boundary API

log_string

September 8th 2024
Write a string to the *log* buffer

Signature

C++
b32
log_string(Application_Links* app,
           String_Const_u8 str);

Parameters

app

the standard custom layer context pointer

str

the string to write to the log

Return

non-zero when the string was written to the log, each thread can individually have logging disabled, in which case zero is returned