examples/Case Study DK/Observer.php
public function notify( $event )
	{
		if ( ! isset( $event['section'] ) || ! isset( $event['source'] ) ) return;
		$source = $event['section'];

		$source = array( 'message' => $event['message'], 'details' => $event['source'] );
		$this->addSection( $event['section'], $source );
	}
public function notify( $event )
	{
		if ( ! isset( $event['section'] ) || ! isset( $event['source'] ) ) return;
		$source = $event['section'];

		$source = array( 'message' => $event['message'], 'details' => $event['source'] );
		$this->addSection( $event['section'], $source );
	}
public function notify ( $ event ) { if ( ! isset ( $ event [ 'section' ] ) || ! isset ( $ event [ 'source' ] ) ) return ; $ source = $ event [ 'section' ] ; $ source = array ( 'message' => $ event [ 'message' ] , 'details' => $ event [ 'source' ] ) ; $ this -> addSection ( $ event [ 'section' ] , $ source ) ; }
Called by the log instance to pass log information
@param array $event
Called by the log instance to pass log information