Quote:
Originally Posted by ultim
Avs+ received a logging facility. You can enable it using SetLogParams(target, level) at the beginning of your script. 'target' can be either "stderr", "stdout", or a path to a file. Level is LOGLEVEL_ERROR/WARNING/INFO/DEBUG (not strings), with increasing verbosity. Log messages can be output by scripts using LogMsg(msg, level). I went for Log() initially but it was already taken by the math function.
|
Just tried the SetLogParams(target, level) function, very cool:
However, I had to use "SetLogParams("stdout",
4), "LOGLEVEL_DEBUG" was not recognised.