or switch to TypeScript where you have actual stro...
# suitescript
s
or switch to TypeScript where you have actual strong typings and have had for years now 🙂
👌 1
👍 1
n
Sounds enticing. If NetSuite doesnt plan to give parameter code completion then I may finally do typescript...
👍 1
👌 1
s
the type system in TS has evolved to a point where it can easily enforce values like "DEBUG", "AUDIT" etc. for that parameter to nlapiLogExecution()
that said, I haven't used the native logger for years either - I use an improved logger from NFT (which in turn was pulled in from Aurelia)
so out logging is strongly typed, e.g.
log.debug()
and
log.warn()
- similar to SS2 but works the same in SS1
n
nice