public function update(SplSubject $subject, $event = null)
    {
        switch ($event) {
            case 'log':
                /* @var Doozr_Logging $subject */
                $logs = $subject->getCollectionRaw();

                foreach ($logs as $log) {
                    $this->log(
                        $log['type'],
                        $log['message'],
                        unserialize($log['context']),
                        $log['time'],
                        $log['fingerprint'],
                        $log['separator']
                    );
                }
                break;
        }
    }
public function update(SplSubject $subject, $event = null)
    {
        switch ($event) {
            case 'log':
                /* @var Doozr_Logging $subject */
                $logs = $subject->getCollectionRaw();

                foreach ($logs as $log) {
                    $this->log(
                        $log['type'],
                        $log['message'],
                        unserialize($log['context']),
                        $log['time'],
                        $log['fingerprint'],
                        $log['separator']
                    );
                }
                break;
        }
    }
public function update ( SplSubject $ subject , $ event = null ) { switch ( $ event ) { case 'log' : /* @var Doozr_Logging $subject */ $ logs = $ subject -> getCollectionRaw ( ) ; foreach ( $ logs as $ log ) { $ this -> log ( $ log [ 'type' ] , $ log [ 'message' ] , unserialize ( $ log [ 'context' ] ) , $ log [ 'time' ] , $ log [ 'fingerprint' ] , $ log [ 'separator' ] ) ; } break ; } }
Update of SplObserver

@param SplSubject $subject The subject we work on
@param null       $event   The event to process (optional)

@author Benjamin Carl <opensource@clickalicious.de>
@return void
@access public
Update of SplObserver