logger.info and logger.error in java code example
Example: java logger
private static final Logger LOGGER = Logger.getLogger( ClassName.class.getName() );
private static final Logger LOGGER = Logger.getLogger( ClassName.class.getName() );