Logger utility for scicos
log=scicos_log(log); log=scicos_log(log, msg); refCounters=scicos_log("refCounters");
String, logger value. The supported log modifiers are : "FATAL", "ERROR", "WARNING", "INFO", "DEBUG", "TRACE"
String, the message to log.
a double vector, with a [uid, kind, reference counter] line per object.
This function implements a logger for scicos
operation. This function lets the user choose the right level of information to print while loading a model, compiling and simulating it.
It is also used to produce statistics or global analysis for specific flags. For exemple, passing "refCounters"
will return uid, kind and reference count of all objects.
loadXcosLibs(); scicos_log("refCounters") b = scicos_block(); scicos_log("refCounters") | ![]() | ![]() |