ntcore-ts / @ntcore-ts/client / setLogTimestamps
Function: setLogTimestamps()
setLogTimestamps(
enabled):void
Defined in: util/logger.ts:63
Sets whether console log lines start with an ISO timestamp. On by default outside the browser. Has no effect on lines sent to a handler set with setLogHandler, which receive time instead.
Parameters
enabled
boolean
Whether to add timestamps.
Returns
void