Skip to content

Commit 46ddc68

Browse files
committed
Releasing 1.0.4
2 parents fe99f74 + fd3fe54 commit 46ddc68

File tree

1 file changed

+4
-28
lines changed

1 file changed

+4
-28
lines changed

src/TgVault/Logger.php

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,10 @@
44

55
require_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
}

0 commit comments

Comments
 (0)