/** * Initializes the logger. Supports <b>null</b> input. This method can be * called by derived classes in order to enable logging. * * @param log the logger * @since 2.0 */ protected final void initLogger(final ConfigurationLogger log) { this.log = (log != null) ? log : ConfigurationLogger.newDummyLogger(); }
/** * Initializes the logger. Checks for null parameters. * * @param log the new logger */ private void initLogger(final ConfigurationLogger log) { this.log = (log != null) ? log : ConfigurationLogger.newDummyLogger(); }