PluginProbe ʕ •ᴥ•ʔ
Matomo Analytics – Powerful, Privacy-First Insights for WordPress / trunk
Matomo Analytics – Powerful, Privacy-First Insights for WordPress vtrunk
5.11.1 5.11.0 5.10.2 5.10.1 trunk 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.3.0 1.3.1 1.3.2 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.1.0 4.1.1 4.1.2 4.1.3 4.10.0 4.11.0 4.12.0 4.13.0 4.13.2 4.13.3 4.13.4 4.13.5 4.14.0 4.14.1 4.14.2 4.15.0 4.15.1 4.15.2 4.15.3 4.2.0 4.3.0 4.3.1 4.4.1 4.4.2 4.5.0 4.6.0 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 5.0.8 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.10.0 5.2.0 5.2.1 5.2.2 5.3.0 5.3.1 5.3.2 5.3.3 5.6.0 5.6.1 5.7.0 5.7.1 5.8.0 5.8.1 5.8.2
matomo / app / vendor / prefixed / psr / log / Psr / Log / LoggerInterface.php
matomo / app / vendor / prefixed / psr / log / Psr / Log Last commit date
Test 1 year ago AbstractLogger.php 2 years ago InvalidArgumentException.php 2 years ago LogLevel.php 2 years ago LoggerAwareInterface.php 2 years ago LoggerAwareTrait.php 2 years ago LoggerInterface.php 2 years ago LoggerTrait.php 2 years ago NullLogger.php 2 years ago
LoggerInterface.php
118 lines
1 <?php
2
3 namespace Matomo\Dependencies\Psr\Log;
4
5 /**
6 * Describes a logger instance.
7 *
8 * The message MUST be a string or object implementing __toString().
9 *
10 * The message MAY contain placeholders in the form: {foo} where foo
11 * will be replaced by the context data in key "foo".
12 *
13 * The context array can contain arbitrary data. The only assumption that
14 * can be made by implementors is that if an Exception instance is given
15 * to produce a stack trace, it MUST be in a key named "exception".
16 *
17 * See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md
18 * for the full interface specification.
19 */
20 interface LoggerInterface
21 {
22 /**
23 * System is unusable.
24 *
25 * @param string $message
26 * @param mixed[] $context
27 *
28 * @return void
29 */
30 public function emergency($message, array $context = array());
31 /**
32 * Action must be taken immediately.
33 *
34 * Example: Entire website down, database unavailable, etc. This should
35 * trigger the SMS alerts and wake you up.
36 *
37 * @param string $message
38 * @param mixed[] $context
39 *
40 * @return void
41 */
42 public function alert($message, array $context = array());
43 /**
44 * Critical conditions.
45 *
46 * Example: Application component unavailable, unexpected exception.
47 *
48 * @param string $message
49 * @param mixed[] $context
50 *
51 * @return void
52 */
53 public function critical($message, array $context = array());
54 /**
55 * Runtime errors that do not require immediate action but should typically
56 * be logged and monitored.
57 *
58 * @param string $message
59 * @param mixed[] $context
60 *
61 * @return void
62 */
63 public function error($message, array $context = array());
64 /**
65 * Exceptional occurrences that are not errors.
66 *
67 * Example: Use of deprecated APIs, poor use of an API, undesirable things
68 * that are not necessarily wrong.
69 *
70 * @param string $message
71 * @param mixed[] $context
72 *
73 * @return void
74 */
75 public function warning($message, array $context = array());
76 /**
77 * Normal but significant events.
78 *
79 * @param string $message
80 * @param mixed[] $context
81 *
82 * @return void
83 */
84 public function notice($message, array $context = array());
85 /**
86 * Interesting events.
87 *
88 * Example: User logs in, SQL logs.
89 *
90 * @param string $message
91 * @param mixed[] $context
92 *
93 * @return void
94 */
95 public function info($message, array $context = array());
96 /**
97 * Detailed debug information.
98 *
99 * @param string $message
100 * @param mixed[] $context
101 *
102 * @return void
103 */
104 public function debug($message, array $context = array());
105 /**
106 * Logs with an arbitrary level.
107 *
108 * @param mixed $level
109 * @param string $message
110 * @param mixed[] $context
111 *
112 * @return void
113 *
114 * @throws \Psr\Log\InvalidArgumentException
115 */
116 public function log($level, $message, array $context = array());
117 }
118