static public void storeLogs(final boolean shouldStoreLogs) {
        ThreadPoolWorkQueue.execute(new Runnable() {
            @Override public void run() {
                setCaptureSync(shouldStoreLogs);
                // 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 storeLogs(final boolean shouldStoreLogs) {
        ThreadPoolWorkQueue.execute(new Runnable() {
            @Override public void run() {
                setCaptureSync(shouldStoreLogs);
                
                
                synchronized (WAIT_LOCK) {
                    WAIT_LOCK.notifyAll ();
                }
            }
        });
    }
static public void storeLogs ( final boolean shouldStoreLogs ) { ThreadPoolWorkQueue . execute ( new Runnable ( ) { @ Override public void run ( ) { setCaptureSync ( shouldStoreLogs ) ; // 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 ( ) ; } } } ) ; }
Global setting: turn persisting of log data passed to this class's log methods on or off.

@param shouldStoreLogs flag to indicate if log data should be saved persistently
Global setting : turn persisting of log data passed to this class s log methods on or off .