static public void setLogLevel(final Logger.LEVEL desiredLevel) {
        ThreadPoolWorkQueue.execute(new Runnable() {
            @Override
            public void run() {
                setLevelSync(desiredLevel);
                // we do this mostly to enable unit tests to logger.wait(100) instead of
                // Thread.sleep(100) -- it's faster, more stable, and more deterministic that way
                synchronized (WAIT_LOCK) {
                    WAIT_LOCK.notifyAll();
                }
            }
        });
    }
static public void setLogLevel(final Logger.LEVEL desiredLevel) {
        ThreadPoolWorkQueue.execute(new Runnable() {
            @Override
            public void run() {
                setLevelSync(desiredLevel);
                
                
                synchronized (WAIT_LOCK) {
                    WAIT_LOCK.notifyAll();
                }
            }
        });
    }
static public void setLogLevel ( final Logger . LEVEL desiredLevel ) { ThreadPoolWorkQueue . execute ( new Runnable ( ) { @ Override public void run ( ) { setLevelSync ( desiredLevel ) ; // we do this mostly to enable unit tests to logger.wait(100) instead of // Thread.sleep(100) -- it's faster, more stable, and more deterministic that way synchronized ( WAIT_LOCK ) { WAIT_LOCK . notifyAll ( ) ; } } } ) ; }
Set the level and above at which log messages should be saved/printed.
For example, passing LEVEL.INFO will log INFO, WARN, ERROR, and FATAL.  A
null parameter value is ignored and has no effect.

@param desiredLevel @see LEVEL
Set the level and above at which log messages should be saved / printed . For example passing LEVEL . INFO will log INFO WARN ERROR and FATAL . A null parameter value is ignored and has no effect .