Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
LoggingSetting | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace PeServer\App\Models\Configuration; |
6 | |
7 | use PeServer\App\Models\Configuration\LoggerSetting; |
8 | use PeServer\Core\Serialization\Mapping; |
9 | |
10 | /** |
11 | * ログ設定。 |
12 | * |
13 | * @immutable |
14 | */ |
15 | class LoggingSetting |
16 | { |
17 | #region variable |
18 | |
19 | /** |
20 | * ロガー設定。 |
21 | * |
22 | * @var array<string,LoggerSetting> |
23 | */ |
24 | #[Mapping(arrayValueClassName: LoggerSetting::class)] |
25 | public array $loggers = []; //@phpstan-ignore-line [CODE_READONLY] |
26 | |
27 | #[Mapping(name: 'archive_size')] |
28 | public int $archiveSize; |
29 | |
30 | #endregion |
31 | } |