Required Instance Methodswift-metrics 2.6.1CoreMetrics
preferDisplayUnit(_:)
Set the preferred display unit for this TimerHandler.
func preferDisplayUnit(_ unit: TimeUnit)
Parameters
- unit
A hint to the backend responsible for presenting the data of the preferred display unit. This is not guaranteed to be supported by all backends.