Api/minux.debug()

From Minux Wiki
Jump to navigation Jump to search

this api prints to the screen or write in the logs whatever is in the argument "printstring", stored in /var/log/%logname%.txt. where logname is the "logname" argument

uses settings from _G.debugmode, wich is set trough "config debug setting" or the minux.config() api


usage:

minux.debug(printstring , logname)