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

Summary: generate logging snippets based on the logging framework being used
Product: java Reporter: Milos Kleint <mkleint>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.1   
Hardware: PC   
OS: Mac OS X   
Issue Type: ENHANCEMENT Exception Reporter:

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.