File tree Expand file tree Collapse file tree 1 file changed +4
-28
lines changed
Expand file tree Collapse file tree 1 file changed +4
-28
lines changed Original file line number Diff line number Diff line change 44
55require_once (__DIR__ .'/commons.php ' );
66
7- interface Logger {
7+ /**
8+ * @Deprecated, use \TgLog\Logger instead.
9+ */
10+ interface Logger extends \TgLog \Logger {
811
9- /**
10- * Log the given string (and $object) in DEBUG level.
11- * @param string $s - the string to be logged
12- * @param mixed $object - an optional object that can be inspected (usually json-encoded in log)
13- */
14- public function debug (string $ s , $ object = NULL );
15-
16- /**
17- * Log the given string (and $object) in DEBUG level.
18- * @param string $s - the string to be logged
19- * @param mixed $object - an optional object that can be inspected (usually json-encoded in log)
20- */
21- public function info (string $ s , $ object = NULL );
22-
23- /**
24- * Log the given string (and $object) in WARN level.
25- * @param string $s - the string to be logged
26- * @param mixed $object - an optional object that can be inspected (usually json-encoded in log)
27- */
28- public function warn (string $ s , $ object = NULL );
29-
30- /**
31- * Log the given string (and $object) in DEBUG level.
32- * @param string $s - the string to be logged
33- * @param mixed $object - an optional object that can be inspected (usually json-encoded in log)
34- */
35- public function error (string $ s , $ object = NULL );
3612
3713}
You can’t perform that action at this time.
0 commit comments