Setting a Handler

Report a typo

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?

Enter a short text
___

Create a free account to access the full topic