TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
TIOBE - Java Coding Standard
Search

Rule:  JavaLogging3Checked automatically with code checker

Synopsis:System.out.print is used
Language:Java
Severity Level:4
Category:JavaLogging


Description:
System.(out|err).print is used, consider using a logger.
class Foo{
    Logger log = Logger.getLogger(Foo.class.getName());
    public void testA () {
        System.out.println("Entering test");
        // Better use this
        log.fine("Entering test");
    }
}