Terisa de morgan, quisvir
I would always define
Code:
var log = Core.log.getLogger("MyCode");
to not presume that a log-instance is present.
There are four(4) log-levels in core___log.js
"trace", "info", "warn" and "error"
only log.error("message", e) will output e into the log along with message.
use: log.trace("message"+e) to achieve the same with the other levels.
Log level for beta-builds is controled in
/Beta/user.config
Code:
// what to log and what not, possible values are: all, trace, info, warn, error
config.defaultLogLevel = "trace";