Blame view

src/vendor/1.2.5/Phalcon/Logger/Multiple.php 1.82 KB
1ea3b987   Administrator   maby first commit
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
  <?php 
  
  namespace Phalcon\Logger {
  
  	/**
  	 * Phalcon\Logger\Multiple
  	 *
  	 * Handles multiples logger handlers
  	 */
  	
  	class Multiple {
  
  		protected $_loggers;
  
  		protected $_formatter;
  
  		/**
  		 * Pushes a logger to the logger tail
  		 *
  		 * @param \Phalcon\Logger\AdapterInterface $logger
  		 */
  		public function push($logger){ }
  
  
  		/**
  		 * Returns the registered loggers
  		 *
  		 * @return \Phalcon\Logger\AdapterInterface[]
  		 */
  		public function getLoggers(){ }
  
  
  		/**
  		 * Sets a global formatter
  		 *
  		 * @param \Phalcon\Logger\FormatterInterface $formatter
  		 */
  		public function setFormatter($formatter){ }
  
  
  		/**
  		 * Returns a formatter
  		 *
  		 * @return \Phalcon\Logger\FormatterInterface
  		 */
  		public function getFormatter(){ }
  
  
  		/**
  		 * Sends a message to each registered logger
  		 *
  		 * @param string $message
  		 * @param int $type
  		 */
  		public function log($message, $type=null){ }
  
  
  		/**
  		 * Sends/Writes an emergence message to the log
  		 *
  		 * @param string $message
  		 */
  		public function emergence($message){ }
  
  
  		/**
  		 * Sends/Writes a debug message to the log
  		 *
  		 * @param string $message
  		 * @param ing $type
  		 */
  		public function debug($message){ }
  
  
  		/**
  		 * Sends/Writes an error message to the log
  		 *
  		 * @param string $message
  		 */
  		public function error($message){ }
  
  
  		/**
  		 * Sends/Writes an info message to the log
  		 *
  		 * @param string $message
  		 */
  		public function info($message){ }
  
  
  		/**
  		 * Sends/Writes a notice message to the log
  		 *
  		 * @param string $message
  		 */
  		public function notice($message){ }
  
  
  		/**
  		 * Sends/Writes a warning message to the log
  		 *
  		 * @param string $message
  		 */
  		public function warning($message){ }
  
  
  		/**
  		 * Sends/Writes an alert message to the log
  		 *
  		 * @param string $message
  		 */
  		public function alert($message){ }
  
  	}
  }