node_modules/.cache/esm/e644b176f657bcfc.js
/**
   * Removes the transport from this logger instance by unpiping from it.
   * @param {mixed} transport - TODO: add param description.
   * @returns {Logger} - TODO: add return description.
   */
Removes the transport from this logger instance by unpiping from it.
@param {mixed} transport - TODO: add param description.
@returns {Logger} - TODO: add return description.
Removes the transport from this logger instance by unpiping from it . @param { mixed } transport - TODO : add param description . @returns { Logger } - TODO : add return description .
remove(transport) {
    let target = transport;
    if (!isStream(transport) || transport.log.length > 2) {
      target = this.transports
        .filter(match => match.transport === transport)[0];
    }
    if (target) { this.unpipe(target); }
    return this;
  }
remove ( transport ) { let target = transport ; if ( ! isStream ( transport ) || transport . log . length > 2 ) { target = this . transports . filter ( match => match . transport === transport ) [ 0 ] ; } if ( target ) { this . unpipe ( target ) ; } return this ; }
Removes the transport from this logger instance by unpiping from it.
Removes the transport from this logger instance by unpiping from it .