PeriodicTracer.format

Outputs a formatted string to the console if the specified update interval has passed. The display is either static or adds a newline depending on the this.static_display member.

  1. typeof(&this) format(cstring fmt, Args args)
  2. typeof(&this) format(ulong interval, cstring fmt, Args args)
    struct PeriodicTracer
    typeof(&this)
    format
    (
    Args...
    )
    (
    ulong interval
    ,,
    Args args
    )

Parameters

Args

Tuple of arguments to format

interval ulong

minimum interval between display updates

fmt cstring

format string (same format as tanog.util.log.Trace)

args Args

variadic list of values referenced in format string

Return Value

Type: typeof(&this)

this instance for method chaining

Meta