src/Log/AggregateLogger.php
public function removeLogger(string $key, $trigger = true) {
        if ($trigger && !$this->has($key)) {
            trigger_error("Logger $key was removed without being added.");
        }

        unset($this->loggers[$key]);

        return $this;
    }
public function removeLogger(string $key, $trigger = true) {
        if ($trigger && !$this->has($key)) {
            trigger_error("Logger $key was removed without being added.");
        }

        unset($this->loggers[$key]);

        return $this;
    }
public function removeLogger ( string $ key , $ trigger = true ) { if ( $ trigger && ! $ this -> has ( $ key ) ) { trigger_error ( "Logger $key was removed without being added." ) ; } unset ( $ this -> loggers [ $ key ] ) ; return $ this ; }
Remove a logger by passing in its key.

@param type $key
@param type $trigger
@return $this
Remove a logger by passing in its key .