37 : void {
38 $define[] = Logging\Logger\LoggerFactoryInterface::class;
39 $define[] = Logging\Logger\DefaultConfigLoggerFactoryInterface::class;
40 $define[] = Logging\Config\ConfigInterface::class;
41
42 $internal[Logging\Config\Basic\ConfigInterface::class] = static fn() =>
45 $use[
Environment\Configuration\Installation\IliasIni::class]
46 )
47 );
48 $internal[Logging\Config\ByComponent\ConfigInterface::class] = static fn() =>
52 ),
54 );
55 $internal[Logging\Logger\LevelFetcher\LevelFetcherFactory::class] = static fn() =>
57 $internal[Logging\Logger\LazyInternalFactoryInterface::class] = static fn() =>
62 );
63
64 $implement[Logging\Logger\LoggerFactoryInterface::class] = static fn() =>
66 $internal[
Logging\Logger\LazyInternalFactoryInterface::class],
68 $internal[
Logging\Logger\LevelFetcher\LevelFetcherFactory::class]
69 );
70 $implement[Logging\Logger\DefaultConfigLoggerFactoryInterface::class] = static fn() =>
72 $internal[
Logging\Logger\LazyInternalFactoryInterface::class],
74 $internal[
Logging\Logger\LevelFetcher\LevelFetcherFactory::class]
75 );
76 $implement[Logging\Config\ConfigInterface::class] = static fn() =>
80 );
81
82 $contribute[Logging\Logger\Monolog\Handler\ProviderInterface::class] = static fn() =>
85 );
86
87 $contribute[Setup\Agent::class] = static fn() =>
90 );
92 $this,
93 'logging'
94 );
96 $this,
97 'log'
98 );
99 }
Builds a Color from either hex- or rgb values.
A configuration for the setup.