Modules
Objects/Functions
SuiteScript 2.0
{log}.debug({title: {string*},details: {any}})
N/log Module
log.debug()
Method Description:
Logs a Debug message.
Debug messages appear on the Execution tab only if the Log Level on the script deployment is set to Debug.
Use this method for scripts in development.
Returns:
void
Supported Script Types:
All script types
For more information, see SuiteScript 2.0 Script Types.
Governance:
Amount of logging in any 60 minute period is limited. See N/log Module Guidelines.
Module:
N/log Module
Since:
2016.1
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=log.debug(options)
Example:
// Code Example 1
//Add additional code
//...
var myValue = 'value';
log.debug({
title: 'Debug Entry',
details: 'Value of myValue is: ' + myValue
});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4430385329.html