Skip to content

Commit 354ab59

Browse files
committed
Update
1 parent 859e6ad commit 354ab59

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

src/Classes/LoggerInterface.php

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,38 @@ interface LoggerInterface
2222
* @param string $extension
2323
*/
2424
function __construct($path, $filename, $extension);
25+
26+
/**
27+
* @param string $message
28+
* @return void
29+
*/
30+
function error($message = '');
31+
32+
/**
33+
* @param string $message
34+
* @return void
35+
*/
36+
function warning($message = '');
37+
38+
/**
39+
* @param string $message
40+
* @return void
41+
*/
42+
function info($message = '');
43+
44+
/**
45+
* @param string $message
46+
* @param string $type
47+
* @return void
48+
*/
49+
function custom($message = '', $type = 'custom');
50+
51+
/**
52+
* @param string $message
53+
* @param int $type 0
54+
* @param string $path
55+
* @param string $headers
56+
* @return void
57+
*/
58+
function log($message = '', $type = 0, $path = null, $headers = null);
2559
}

0 commit comments

Comments
 (0)