Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 602 Bytes

CmdOsLog.md

File metadata and controls

24 lines (18 loc) · 602 Bytes

CmdOs Log

logPrintln(LOG_LEVEL,char* or string) e.g. sprintf(buffer,"draw pixel %dx%d",x,y); logPrintln(LOG_DEBUG,buffer); or as cmd e.g. log "draw pixel" $x $y

The LOG_LEVEL define wich logs (and below) are printed. Change the LOG_LEVEL with cmd "logLevel LOG_LEVEL". e.g. logLevel 5 => will now print levels 0..5

Log-Level:

  • LOG_SYSTEM 0
  • LOG_ERROR 2
  • LOG_INFO 5
  • LOG_DEBUG 10

Log-Output

LOGO a OpenOn.org project - develop by [email protected]