kkevlar / section-searcher

Project for CSC 308 and 309
1 stars 0 forks source link

Replace all System.out 's with logger #41

Closed kkevlar closed 5 years ago

kkevlar commented 5 years ago

we must appease sonarcould

kkevlar commented 5 years ago

Use the following standard for Logging

private final static Logger LOGGER = Logger.getLogger(MyClass.class.getName());

public void myMethod ( )
{
        //do things
    LOGGER.log(Level.INFO, "Hi"); //equivalent to a normal System out
        //do more things
}
bwlyday commented 5 years ago

System.out is only used in Main and FactoryPlan. It looks like it was used to see if the function was working and not removed before commiting.

bwlyday commented 5 years ago

This was fixed but not closed

kkevlar commented 5 years ago

Uhh not quite finished yet

JustinPrivitera commented 5 years ago

it wasn't a smell bro