public Level getEffectiveLevel ( ) { Level effectiveLevel = level ; if ( effectiveLevel == null && ! name . equals ( "" ) ) { if ( commonLoggerRepository == null ) { throw new IllegalStateException ( "CommonLoggerRepository has not been set" ) ; } else { effectiveLevel = commonLoggerRepository . getEffectiveLevel ( name ) ; } } return effectiveLevel ; }
Get the effective log level . If we have a hierarchy of loggers this is searched to get the effective level .