Open
Description
-
Add a static final Logger to every class that requires logging:
static final Logger LOGGER = Logger.getLogger(MyClass.getCanonicalName());
-
Remove all references to System.out.print*
-
Add Logging to all catch blocks:
LOGGER.log(Level.Error,ex, ()->String.format("My Method failed with these parameters %s, %s",param1.param2))
;
Metadata
Metadata
Assignees
Labels
No labels
Activity