Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Later
-
None
-
None
-
None
Description
Logger is generally boilerplate code:
private static final Logger LOGGER = LoggerFactory.getLogger(Foo.class);
it could be very nice to get the logger injected by cdi:
@Inject private Logger logger;
Then it could be enhanced providing qualifiers for several log implementations (slf4j, log4j, commons-logging...)
There is such a feature in weld (weld-clogger) and codi.