#502 Replaced usages of System.out with logger.
This commit is contained in:
@ -22,6 +22,9 @@
|
||||
*/
|
||||
package com.iluwatar.model.view.controller;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
*
|
||||
* GiantView displays the giant
|
||||
@ -29,7 +32,9 @@ package com.iluwatar.model.view.controller;
|
||||
*/
|
||||
public class GiantView {
|
||||
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(GiantView.class);
|
||||
|
||||
public void displayGiant(GiantModel giant) {
|
||||
System.out.println(giant);
|
||||
LOGGER.info(giant.toString());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user