question: public Log4JManagerAccessor ( ClassLoader cl ) throws ClassNotFoundException { Class clazz = cl . loadClass ( "org.apache.log4j.LogManager" ) ; Method exists = MethodUtils . getAccessibleMethod ( clazz , "exists" , new Class [ ] { String . class } ) ; if ( exists == null ) { throw new RuntimeException ( "The LogManager is part of the slf4j bridge." ) ; } setTarget ( clazz ) ; }
target:  Instantiates a new log4 j manager accessor.