warning(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

✨ 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 🌸

  1. 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