This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 253657 - generate logging snippets based on the logging framework being used
Summary: generate logging snippets based on the logging framework being used
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.0.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-23 01:38 UTC by Milos Kleint
Modified: 2015-07-23 01:38 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milos Kleint 2015-07-23 01:38:58 UTC
currently all the try+catch and other hints generate log messages for java.util.logging

since my projects use slf4j, everytime I need to rewrite the log message to slf4j manually, remove all the added imports etc.

it would be nice if the hints were smart enough to know what logging framework is on classpath and generate the appropriate code snippets.