Hi,
Is there a list of all logger and simple purpose to better track the console ?
How can we put message in a user logger (trace) from scripting ?
Tia
Hi,
Is there a list of all logger and simple purpose to better track the console ?
How can we put message in a user logger (trace) from scripting ?
Tia
There is not a comprehensive list unfortunately. Cleaning up the logger names is something we’re working towards.
For 7.3 we’ve added a scripting function: [tt]system.util.logger(loggerName)[/tt] which will return in instance of a Logger object (see Log4J for details) that you can use to log messages, for example:
log = system.util.logger("MyProject")
log.info("Something happened")