How can I log varying levels of messages from within an automation module? I have done some digging around and understand that the http-log-level can be set from 0 to 4. What do these levels represent?
The console object has 4 properties (log, warn, error, debug). All four properties reference the same debugPrint function effectively meaning that there is no difference between them. Is this a feature to be added or is there another function to use? I would like to vary my logs based on the http-log-level in the config.xml file.
For example, if http-log-level = 0 then all console.xxx commands would go to the log file, but if http-log-level = 3 then only console.error commands would go to the log file.
Error Logging Levels from Automation Modules
Re: Error Logging Levels from Automation Modules
in current implementation debugPring is a debug tool only and goes to debug (0) log level only.