Location: PHPKode > projects > FreeORM > FreeORM/logger/StdLogger.php
<?php

/**
 * An implementation of Logger.
 * The Output will be direct displayed on screen.
 * 
 * @package		com.freeorm
 * @author		Yide Zou
 * @link		http://www.freeorm.com
 * @copyright	Copyright (c) 2010 Yide Zou <hide@address.com>. 
 * 				All Rights Reserved.
 * @license		This software is released under the terms of the GNU Lesser General Public License
 * 				A copy of which is available from http://www.gnu.org/copyleft/lesser.html
 */

require_once ('Logger.php');

class StdLogger extends Logger 
{
	//Override
	public function output($text, $type='ERROR')
	{
		echo "[$type] $text \n";
	}
}
Return current item: FreeORM