async/src/main/java/com/tersesystems/echopraxia/async/DefaultAsyncLoggerMethods.java
/**
   * Logs statement at INFO level with exception.
   *
   * @param message the message.
   * @param e the given exception.
   */
Logs statement at INFO level with exception.
@param message the message.
@param e the given exception.
Logs statement at INFO level with exception . @param message the message . @param e the given exception .
default void error(@Nullable String message, @NotNull Throwable e) {
    core()
        .asyncLog(
            ERROR,
            h -> h.log(message, fb -> (Field.keyValue(EXCEPTION, exception(e)))),
            fieldBuilder());
  }
default void error ( @ Nullable String message , @ NotNull Throwable e ) { core ( ) . asyncLog ( ERROR , h -> h . log ( message , fb -> ( Field . keyValue ( EXCEPTION , exception ( e ) ) ) ) , fieldBuilder ( ) ) ; }
Logs statement at INFO level with exception.
Logs statement at INFO level with exception .