public static void addCustomLevel ( Level level , String id ) { if ( level == null ) { throw new IllegalArgumentException ( "Parameter level can not be 'null' in this call" ) ; } if ( id == null ) { id = level . getName ( ) . substring ( 0 , 1 ) ; } customLevels . put ( level , id ) ; }
Adds level to be treated specially by this formatter .