Discussions
Log levels and debugging
The nlapiLogExecutionNote() API has log types of audit, debug, error, emergency. Is there any way to set the log level from a script/record/global perspective? For example, I want to put a bunch of debug statements in the script, but want to set the log level to error (say only error and emergency logs are displayed) and don't want these statements to show up in production unless the user specifically sets this setting to debug.
This is like any other standard logging interface. Is this already available? If not, is it planned?
Thanks
Jan