public function showlog() { clips_log("Hello"); $this->tool->info("Hello world {tool}", array('tool' => 'jack')); }
/** * Log using clips tool's LoggerInterface, only used for test or helper function. * For objects, the LoggerAwareInterface interface is more appriciated * * @author Jack * @date Sat Feb 21 10:49:09 2015 * @param message * The message to log * @param context * The log context */ function log($message, $context = array()) { clips_log($message, $context); }