async/src/main/java/com/tersesystems/echopraxia/async/AsyncLogger.java
/**
   * Provides a function to be run in the async logger to set up thread local storage variables in
   * the logging executor's thread. Any existing function on the core logger is composed with the
   * given function.
   *
   * <p>The method to supply is in two parts, with the supply portion run to save off the TLS
   * variables, and the runnable portion applying the TLS variables in the thread:
   *
   * @param supplier the function to apply to manage TLS state.
   * @return the logger with the thread local supplier applied.
   */
Provides a function to be run in the async logger to set up thread local storage variables in
the logging executor's thread. Any existing function on the core logger is composed with the
given function.

The method to supply is in two parts, with the supply portion run to save off the TLS
variables, and the runnable portion applying the TLS variables in the thread.

@param supplier the function to apply to manage TLS state.
@return the logger with the thread local supplier applied.
Provides a function to be run in the async logger to set up thread local storage variables in the logging executor ' s thread . Any existing function on the core logger is composed with the given function . The method to supply is in two parts with the supply portion run to save off the TLS variables and the runnable portion applying the TLS variables in the thread . @param supplier the function to apply to manage TLS state . @return the logger with the thread local supplier applied .
public AsyncLogger<FB> withThreadLocal(Supplier<Runnable> supplier) {
    return newLogger(core.withThreadLocal(supplier));
  }
public AsyncLogger < FB > withThreadLocal ( Supplier < Runnable > supplier ) { return newLogger ( core . withThreadLocal ( supplier ) ) ; }
Provides a function to be run in the async logger to set up thread local storage variables in
 the logging executor's thread.
Provides a function to be run in the async logger to set up thread local storage variables in the logging executor ' s thread .
//    Supplier<Runnable> s = () -> { //      // Run before async thread execution //      final RequestAttributes requestAttributes = // RequestContextHolder.currentRequestAttributes(); //      // runnable.run() is called in the logging thread. //      return () -> { //        RequestContextHolder.setRequestAttributes(requestAttributes); //      }; //    };