PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.20
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.20
1.10.20 1.10.19 1.10.18 1.10.17 1.10.16 1.10.15 1.10.13 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 1.10.8 untagged-3d9b7ccddc54df87c672 1.10.7 1.10.6 1.10.5 1.10.3 1.10.4 1.10.2 1.10.1 1.10.0 1.9.17 1.9.15 1.9.16 All 164 releases
woocommerce-pos / vendor_prefixed / psr / log / Psr / Log / LoggerInterface.php

LoggerInterface.php in WCPOS – Point of Sale (POS) plugin for WooCommerce 1.10.20, at vendor_prefixed/psr/log/Psr/Log/LoggerInterface.php

118 lines 3.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace WCPOS\Vendor\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