Skip to content

Reference Script Functions Log

Kristopher Barrantes edited this page Nov 5, 2026 · 2 revisions

Log script functions

Also on the Cuebot Docs site.

Functions for C# (Cb.Call) and Python (a cb method each, or cb.call). See Script functions for how to use them.

A Run Python code step in the action editor

log

Writes a line to Cuebot's log, under the name of the running action. Handy to check what your script is doing.

Value In Python What to put in
message message The text to write, like "Giveaway started".
level level Optional. How important it is: "Debug", "Info", "Warning" or "Error". Leave it out (or use an unknown word) for "Info".

Gives back: Nothing.

C#

var answer = await Cb.Call("log", new { message = "Giveaway started", level = "Info" });

Python

answer = cb.call("log", message="Giveaway started", level="Info")

Clone this wiki locally