Api/minux.debug()

From Minux Wiki
Revision as of 08:15, 24 September 2024 by Shorun (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)