Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace PeServer\Core\Log; |
6 | |
7 | use PeServer\Core\Log\ILogger; |
8 | |
9 | interface ILoggerFactory |
10 | { |
11 | #region function |
12 | |
13 | /** |
14 | * ロガー生成。 |
15 | * |
16 | * @param non-empty-string|object $header |
17 | * @param int $baseTraceIndex |
18 | * @phpstan-param non-negative-int $baseTraceIndex |
19 | * @return ILogger |
20 | */ |
21 | public function createLogger(string|object $header, int $baseTraceIndex = 0): ILogger; |
22 | |
23 | #endregion |
24 | } |