Logger logger = Logger.getLogger(Main.class.getName());
Handler fileHandler = new FileHandler("default.log");
logger.___________(fileHandler);You are going to set the fileHandler to the logger instance. what method should be used for that?
Logger logger = Logger.getLogger(Main.class.getName());
Handler fileHandler = new FileHandler("default.log");
logger.___________(fileHandler);You are going to set the fileHandler to the logger instance. what method should be used for that?
Create a free account to access the full topic