time
Signature
Section titled “Signature”time(label: string): voidDescription
Section titled “Description”Registers a high-resolution timestamp associated with the provided label. Use timeEnd to calculate and log the duration.
Example
Section titled “Example”zylog.time('db-query');