protected static Factory createConfiguredFactory ()
    {
        String implClass;
        try {
            implClass = System.getProperty("com.samskivert.util.Log");
        } catch (SecurityException se) {
            // in a sandbox
            return null;
        }
        if (!StringUtil.isBlank(implClass)) {
            try {
                return (Factory)Class.forName(implClass).newInstance();
            } catch (Throwable t) {
                System.err.println("Unable to instantiate logging implementation: " + implClass);
                t.printStackTrace(System.err);
            }
        }
        return null;
    }
protected static Factory createConfiguredFactory ( ) { String implClass ; try { implClass = System . getProperty ( "com.samskivert.util.Log" ) ; } catch ( SecurityException se ) { return null ; } if ( ! StringUtil . isBlank ( implClass ) ) { try { return ( Factory ) Class . forName ( implClass ) . newInstance ( ) ; } catch ( Throwable t ) { System . err . println ( "Unable to instantiate logging implementation: " + implClass ) ; t . printStackTrace ( System . err ) ; } } return null ; }
A helper function for {@link #initLogger}.