Project-GC Lua Sandbox API
Loading...
Searching...
No Matches
Log

Member Function Documentation

◆ Log()

Log ( )

Log a string that can be retrieved if the script timeouts.

Max amount of log per checker run is 100 kB. The log entries will be available for 1 hour. Normally all in-parameters are concatenated to a single string. New-line isn't added automatically. But! If the first argument is an array, that argument, and only that argument, will be converted to a readable blob The log output can be retrieved at https://project-gc.com/Tools/Challenges?viewDebugLog=token, where token is the token you get when running the script.

$param mixed ...$args (required)

return bool True if stored, false if not stored (due to size limit).