rudionrails / yell

Yell - Your Extensible Logging Library
MIT License
311 stars 21 forks source link

Process &block parameter in Logger.add rather then Event.initialize, #36

Closed mihai-aupeo closed 9 years ago

mihai-aupeo commented 9 years ago

before silencing. Thus, allowing all messages to be processed by silencer, and also, logging messages from calls that only use a block parameter.

Eg. Cequel gem; I tried using Yell with Cequel, but no messages were logged by the Cequel gem - turns out they call debug/warn only with a block param, no actual messages array, as seen in RequestLogger.rb#L42.

mihai-aupeo commented 9 years ago

Thank you! Keep up the good work.