Firephp.php
780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php 
namespace Phalcon\Logger\Formatter {
	/**
	 * Phalcon\Logger\Formatter\Firephp
	 *
	 * Formats messages so that they can be sent to FirePHP
	 */
	
	class Firephp extends \Phalcon\Logger\Formatter implements \Phalcon\Logger\FormatterInterface {
		protected $_showBacktrace;
		/**
		 * Returns the string meaning of a logger constant
		 *
		 * @param  integer $type
		 * @return string
		 */
		public function getTypeString($type){ }
		public function getShowBacktrace(){ }
		public function setShowBacktrace($show=null){ }
		/**
		 * Applies a format to a message before sending it to the log
		 *
		 * @param string $message
		 * @param int $type
		 * @param int $timestamp
		 * @return string
		 */
		public function format($message, $type, $timestamp){ }
	}
}