Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
New to NetSuite | N/log: log.audit(options) Method
In our previous article, New to NetSuite | Understanding SuiteScript 2.x Modules, we explored the SuiteScript Modules and N/log module, New to NetSuite | N/log Module Overview, which is used to log script execution details. Now, we will take a closer look at one of the members of N/log: log.audit(options) Method
The log.audit(options) method allows you to write an audit-level log entry to the Script Execution Log. Audit-level logs are used to record important, high-level information about the execution of your script and are useful for tracking significant events or milestones.
These messages help developers track key events, validations, or checkpoints—especially in production environments where excessive logging should be avoided. Audit logs appear under the
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 Advanced Accounting. RSVP on this event now!
