Re: [Wikitech-l] Moving MWLogger classes to a namespace in MediaWiki core

2015-04-06 Thread Bryan Davis
On Fri, Mar 20, 2015 at 1:51 PM, Bryan Davis bd...@wikimedia.org wrote: The new PSR-3 debug logging system brought namespaced external code (Psr\Log\LoggerInterface) into use in MediaWiki core. The classes I built out to work with this system are using faux namespaces by virtue of class names

Re: [Wikitech-l] Moving MWLogger classes to a namespace in MediaWiki core

2015-03-20 Thread Chad
On Fri, Mar 20, 2015 at 12:51 PM Bryan Davis bd...@wikimedia.org wrote: The new PSR-3 debug logging system brought namespaced external code (Psr\Log\LoggerInterface) into use in MediaWiki core. The classes I built out to work with this system are using faux namespaces by virtue of class names

[Wikitech-l] Moving MWLogger classes to a namespace in MediaWiki core

2015-03-20 Thread Bryan Davis
The new PSR-3 debug logging system brought namespaced external code (Psr\Log\LoggerInterface) into use in MediaWiki core. The classes I built out to work with this system are using faux namespaces by virtue of class names like MWLoggerFactory, MWLoggerLegacyLogger and MWLoggerMonologSyslogHandler.

Re: [Wikitech-l] Moving MWLogger classes to a namespace in MediaWiki core

2015-03-20 Thread Gergo Tisza
On Fri, Mar 20, 2015 at 12:51 PM, Bryan Davis bd...@wikimedia.org wrote: The color I have picked for this namespace bikeshed is MediaWiki\Core\Logger That means you need to map MediaWiki\Core to includes or includes/Core. Given that we have a mediawiki/core repo containing a bunch of classes

Re: [Wikitech-l] Moving MWLogger classes to a namespace in MediaWiki core

2015-03-20 Thread Bryan Davis
On Fri, Mar 20, 2015 at 3:09 PM, Chad innocentkil...@gmail.com wrote: On Fri, Mar 20, 2015 at 12:51 PM Bryan Davis bd...@wikimedia.org wrote: The color I have picked for this namespace bikeshed is MediaWiki\Core\Logger. The MediaWiki root namespace is a pretty obvious choice. Core is inserted