LOG EVENT wrapper class
A Simple API to print ASCII escape codes.
var $CLI : cs.CLI
$CLI:=cs.CLI.new()
//foreground
$CLI.print("Hello World"; "red;bold;underline").LF()
//foreground and background
$CLI.print("Hello World"; "red;yellow;bold;underline").LF()
$CLI.LF()
//16-bit color
For ($i; 0; 255)
$CLI.print(String($i; "^^0"+" "); String($i)+";bold")
End for
$CLI.LF()
https://blog.4d.com/headless-4d-applications/
https://developer.4d.com/docs/Admin/cli/
https://doc.4d.com/4Dv19/4D/19/Command-Line-Interface.300-5416693.en.html