#502 Replaced usages of System.out with logger.
This commit is contained in:
@ -22,15 +22,20 @@
|
||||
*/
|
||||
package com.iluwatar.front.controller;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
*
|
||||
* View for archers.
|
||||
*
|
||||
*/
|
||||
public class ArcherView implements View {
|
||||
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(ArcherView.class);
|
||||
|
||||
@Override
|
||||
public void display() {
|
||||
System.out.println("Displaying archers");
|
||||
LOGGER.info("Displaying archers");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user