public function setDebugLog()
	{
		$logConsole  = \Log::singleton( 'console', '', 'console',
			array(
				'lineFormat' => '%{timestamp} [%{priority}] %{message}',
				'timeFormat' => '%Y-%m-%d %H:%M:%S',
			)
		);

		$logError = \Log::singleton( 'error_log', PEAR_LOG_TYPE_SYSTEM, 'error_log',
			array(
				'lineFormat' => '[%{priority}] %{message}',
			)
		);

		$logComposite = Log::singleton( 'composite' );
		$logComposite->addChild( $logConsole );
		$logComposite->addChild( $logError );

		$this->setLog( $logComposite );
	}
public function setDebugLog()
	{
		$logConsole  = \Log::singleton( 'console', '', 'console',
			array(
				'lineFormat' => '%{timestamp} [%{priority}] %{message}',
				'timeFormat' => '%Y-%m-%d %H:%M:%S',
			)
		);

		$logError = \Log::singleton( 'error_log', PEAR_LOG_TYPE_SYSTEM, 'error_log',
			array(
				'lineFormat' => '[%{priority}] %{message}',
			)
		);

		$logComposite = Log::singleton( 'composite' );
		$logComposite->addChild( $logConsole );
		$logComposite->addChild( $logError );

		$this->setLog( $logComposite );
	}
public function setDebugLog ( ) { $ logConsole = \ Log :: singleton ( 'console' , '' , 'console' , array ( 'lineFormat' => '%{timestamp} [%{priority}] %{message}' , 'timeFormat' => '%Y-%m-%d %H:%M:%S' , ) ) ; $ logError = \ Log :: singleton ( 'error_log' , PEAR_LOG_TYPE_SYSTEM , 'error_log' , array ( 'lineFormat' => '[%{priority}] %{message}' , ) ) ; $ logComposite = Log :: singleton ( 'composite' ) ; $ logComposite -> addChild ( $ logConsole ) ; $ logComposite -> addChild ( $ logError ) ; $ this -> setLog ( $ logComposite ) ; }
Set log output for console and error_log
@return void
Set log output for console and error_log