[slf4j-dev] [Bug 317] erroneous migration turns returned Logger into LoggerFactory

bugzilla-daemon at qos.ch bugzilla-daemon at qos.ch
Sun May 4 02:02:15 CEST 2014


http://bugzilla.slf4j.org/show_bug.cgi?id=317

--- Comment #1 from garret at globalmentor.com <garret at globalmentor.com> ---
Arg. It converts:

fooInstance.setLogger(getLogger());

to:

fooInstance.setLoggerFactory.getLogger());

This "migrator" doesn't seem to have any intelligence at all. It even leaves me
with misplaced parentheses---and over 500 errors.

It's going to be easier to convert all these source files by hand. This
migrator doesn't seem to be worth much---it seems to me that a couple of
regular expressions, while far from perfect, would do a better job than this
migrator.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-dev/attachments/20140504/2dcf75af/attachment.html>


More information about the slf4j-dev mailing list