protected void stop ( ) { addInfo ( "Logback context being closed via shutdown hook" ) ; Context hookContext = getContext ( ) ; if ( hookContext instanceof ContextBase ) { ContextBase context = ( ContextBase ) hookContext ; context . stop ( ) ; } }
Default method for stopping the Logback context