Priority | P5 |
---|---|
Bug ID | 317 |
Assignee | slf4j-dev@qos.ch |
Summary | erroneous migration turns returned Logger into LoggerFactory |
Severity | normal |
Classification | Unclassified |
OS | Windows 2000 |
Reporter | garret@globalmentor.com |
Hardware | PC |
Status | NEW |
Version | 1.7.x |
Component | slf4j-migrator |
Product | SLF4J |
The migrator turns this: public Logger getLogger() { return logger; } into this: public LoggerFactory.getLogger() { return logger; } I guess the migrator must be using some naive regex---but I would have thought it would have at least prevented whitespace in matching "Logger.getLogger(".