Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
New to NetSuite | N/log Module Overview
in SuiteCloud
In our previous article, New to NetSuite | Understanding SuiteScript 2.x Modules, we explored the SuiteScript Modules. Now, let’s take a closer look at the N/log Module.
The N/log module is used for logging messages in scripts. It allows developers to write logs at different levels (debug, audit, error, and emergency) during the execution of their SuiteScript code. This is especially helpful for debugging, monitoring, and maintaining scripts.
Log Levels:
- DEBUG: Detailed technical information for troubleshooting.
- AUDIT: Important business events or normal operation milestones.
- ERROR: Issues that have occurred but do not stop the script.
- EMERGENCY: Critical issues that require immediate attention.
Richard James Uri - SuiteCloud | WMS Tech | SuiteCommerce Advanced
----
- NetSuite Admin Corner | New to NetSuite
- Explore the NSC Webinars Category
- Join our poll and share your ideas! We want to know what you think. Don't forget to comment and make your voice heard!
- Expand your NetSuite knowledge by joining this month's Ask A Guru Live about Suitebuilder . RSVP on this event now!
Tagged:
0
