warning(3)
β¨ NAME β¨
Okay bestie, welcome to the warning(3) page from the Arcan Lua API β this is literally all about warning, and its whole job is to write a string to the warning log output. π
β¨
warningβ write a string to the warning log output. π¦
π¦ SYNOPSIS π¦
The synopsis is giving exactly this, no cap:
nil
warning( string:message )
warning( string:message, bool:debug )
π DESCRIPTION π
It logs a message to the current system/debug log. π
If the optional debug argument is set to true, any attached debug monitor will be invoked with the context. This can be used to source-inject breakpoints. π₯π
πΈ NOTES πΈ
- Only
[a-Z,.0-9]and whitespace characters will be passed to the output log, other characters will be replaced with a whitespace. That's the whole note, bestie β copy that character class exactly, iykyk. β¨
π EXAMPLE π
Here's the vibe:
function warning0()
warning("warning test");
end
π MISUSE π
And here's the misuse example β not me showing you exactly what the page labels as misuse, bestie. π
function warning0()
warning(nil);
end
Catch you later, bestie β this page is from the system source/version and is dated October 2026. πβ¨π¦
π¦ where this page comes from
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms