destroy() {
    this._destroyed = true;
    if (this._timer) {
      clearTimeout(this._timer);
    }
  }
/**
   * Destroy logger (shutdown timer and stop sending messages)
   */
Destroy logger (shutdown timer and stop sending messages)
Destroy logger ( shutdown timer and stop sending messages )
destroy() {
    this._destroyed = true;
    if (this._timer) {
      clearTimeout(this._timer);
    }
  }
destroy ( ) { this . _destroyed = true ; if ( this . _timer ) { clearTimeout ( this . _timer ) ; } }
Destroy logger (shutdown timer and stop sending messages)
Destroy logger ( shutdown timer and stop sending messages )