public function detachAll($clearContents = false)
    {
        $this->observer = new SplObjectStorage();

        if (true === $clearContents) {
            $this->clear();
        }
    }
public function detachAll($clearContents = false)
    {
        $this->observer = new SplObjectStorage();

        if (true === $clearContents) {
            $this->clear();
        }
    }
public function detachAll ( $ clearContents = false ) { $ this -> observer = new SplObjectStorage ( ) ; if ( true === $ clearContents ) { $ this -> clear ( ) ; } }
Removes all attached loggers. Optionally it removes
all contents as well.

@param bool $clearContents TRUE to remove all content from logging,
FALSE to keep it

@author Benjamin Carl <opensource@clickalicious.de>
Removes all attached loggers . Optionally it removes all contents as well .