Progress logger

Hierarchy

Implements

Constructors

Properties

active: boolean = true

Active flag

countFrequency: number

Log count frequency

decimalFormat: {
    format: ((num: number) => string);
} = ...

Decimal format

Type declaration

  • format: ((num: number) => string)
      • (num: number): string
      • Parameters

        • num: number

        Returns string

localCount: number = 0

Local count between logs

localTime: Date = ...

Local time between logs

max: number = null

Max number

progress: number = 0

Total progress

timeFrequency: number

Log time frequency, stored in milliseconds

title: string

Log Title

unit: string

Log Unit

Methods

  • Get the string percentage of the count and total

    Returns

    string percentage

    Parameters

    • count: number

      current count

    • total: number

      total count

    Returns string

  • Get the max at the zoom level

    Returns

    max

    Parameters

    • zoomLevel: number

      zoom level

    Returns number

  • Get the total progress at the zoom level

    Returns

    progress

    Parameters

    • zoomLevel: number

      zoom level

    Returns number

Generated using TypeDoc