Manual:$wgMWLoggerMonologSpiConfig

From mediawiki.org
Jump to navigation Jump to search
Other languages:
English • ‎español • ‎français • ‎русский
Debug: $wgMWLoggerMonologSpiConfig
Configuration for MWLoggerMonologSpi logger factory.
Introduced in version:1.25.0 (Gerrit change 119940; git #9b358016)
Removed in version:1.25.0 (Gerrit change 168253; git #51b37035)
Allowed values:(array)
Default value:(see below)

Details[edit]

Configuration for MWLoggerMonologSpi logger factory.

Default configuration installs a null handler that will silently discard all logging events.

Default value[edit]

array(
	'loggers' => array(
		'@default' => array(
			'handlers' => array( 'null' ),
		),
	),
	'handlers' => array(
		'null' => array(
			'class' => '\\Monolog\\Logger\\NullHandler',
		),
	),
);