Re: Logging methods parameters

2011-08-08 Thread Ivan Habunek
OK, we are in agreement about removing the $caller then. I propose that we work on parameterised logging for 2.2 and consider markers for the next release to achieve a smaller release cycle. The logging methods will be rewritten to support: Logger::debug($message); // standard Logger::debug($m

Logging methods parameters

2011-08-08 Thread Ivan Habunek
The main logging methods (Logger::trace(), Logger::debug(), etc.) currently take two parameters: $message and $caller. I traced the path by which the $caller parameter is passed on and it goes like this: 1. The main logging methods pass it to Logger::log() 2. Logger::log() passes it to Logger::f