public function swrite($severity, $value='')
    {
        if(sizeof($this->cache) == $this->messageLimit) {
            array_shift($this->cache);
        }
        $this->cache[] = $value;
    }
public function swrite($severity, $value='')
    {
        if(sizeof($this->cache) == $this->messageLimit) {
            array_shift($this->cache);
        }
        $this->cache[] = $value;
    }
public function swrite ( $ severity , $ value = '' ) { if ( sizeof ( $ this -> cache ) == $ this -> messageLimit ) { array_shift ( $ this -> cache ) ; } $ this -> cache [ ] = $ value ; }
Stores messages in the public cache by priority
Stores messages in the public cache by priority