Skip to content

time

time(label: string): void

Registers a high-resolution timestamp associated with the provided label. Use timeEnd to calculate and log the duration.

zylog.time('db-query');