src/Log.php
private function cleanConsole()
    {
        $channel = $this->namespaceChannel($this->currentChannel);

        if (empty($this->console['errors'][$channel])) {
            unset($this->console['errors'][$channel]);
        }

        if (empty($this->console['form'][$channel])) {
            unset($this->console['form'][$channel]);
        }

        if (empty($this->console['reports'][$channel])) {
            unset($this->console['reports'][$channel]);
        }
    }
private function cleanConsole()
    {
        $channel = $this->namespaceChannel($this->currentChannel);

        if (empty($this->console['errors'][$channel])) {
            unset($this->console['errors'][$channel]);
        }

        if (empty($this->console['form'][$channel])) {
            unset($this->console['form'][$channel]);
        }

        if (empty($this->console['reports'][$channel])) {
            unset($this->console['reports'][$channel]);
        }
    }
private function cleanConsole ( ) { $ channel = $ this -> namespaceChannel ( $ this -> currentChannel ) ; if ( empty ( $ this -> console [ 'errors' ] [ $ channel ] ) ) { unset ( $ this -> console [ 'errors' ] [ $ channel ] ) ; } if ( empty ( $ this -> console [ 'form' ] [ $ channel ] ) ) { unset ( $ this -> console [ 'form' ] [ $ channel ] ) ; } if ( empty ( $ this -> console [ 'reports' ] [ $ channel ] ) ) { unset ( $ this -> console [ 'reports' ] [ $ channel ] ) ; } }
Removes any empty namespace of the current channel from the console
Removes any empty namespace of the current channel from the console