Logger function ( final String arg0 ) { if ( StringUtils . isBlank ( arg0 ) ) { return NOPLogger . NOP_LOGGER ; } synchronized ( loggerMap ) { if ( ! loggerMap . containsKey ( arg0 ) ) { final Logger loc0 = getRealLoggerInstance ( arg0 ) ; loggerMap . put ( arg0 , new CasDelegatingLogger ( loc0 ) ) ; } return loggerMap . get ( arg0 ) ; } }
attempts to find the real logger instance that is doing the heavy lifting and routes the request to an instance of casdelegatinglogger . the instance is cached by the logger name . concode_field_sep Map<String,CasDelegatingLogger> loggerMap concode_elem_sep Class<? extends ILoggerFactory> realLoggerFactoryClass concode_elem_sep String PACKAGE_TO_SCAN concode_field_sep Logger getRealLoggerInstance