OpenWGA 7.9 - TMLScript reference
WGAObject:
WGA.Logger(name)
Description |
Returns a WGALogger utility object for the given name. The WGALogger object has two methods:
The default log level of all loggers is "info". To log debug messages either call setLevel("debug") somewhere in your code or in TMLScript console of the admin Client or start your runtime with Systen-Option -Dde.innovationgate.wga.debug=wga.<your-logger-name>
|
Allowed in script types |
|
Properties and methods | See above. |
Examples |
var log = WGA.Logger("my-logger").getLogger(); Because the default log level is "info" the debug message will not appear in the console output until you call WGA.Logger("my-logger").setLevel("debug") |