On 28 January 2012 00:10, Marcelo Gornstein <marcelog@...> wrote:
Thank you very much for your quick response!
Is the decision of deprecating the ini files final / irrevocable?
INI files support will not be removed for the foreseeable future so you can continue using them if you're more comfortable that way. However, some features may not be configurable using the INI format (currently only filters). The reason for this is that INI format is increasingly harder to interpret as the configuration gets more complex.
There is an easy way of converting your INI configuration to PHP:
$conf = new LoggerConfiguratorDefault();
This will return the equivalent PHP configuration array.
Now, looking through the code base, there used to be an (undocumented) way of inserting constants in configuration params. But it seems that it was... erm... misplaced when I rewrote the configurator for v2.2. :)