sql/src/main/java/org/apache/druid/sql/avatica/DruidMeta.java
/**
   * Logs any throwable and string format message with args at the error level.
   *
   * @param error   the Throwable to be logged
   * @param message the message to be logged. Can be in string format structure
   * @param format  the format arguments for the format message string
   * @param <T>     any type that extends throwable
   * @return the original Throwable
   */
Logs any throwable and string format message with args at the error level.
@param error   the Throwable to be logged
@param message the message to be logged. Can be in string format structure
@param format  the format arguments for the format message string
@param      any type that extends throwable
@return the original Throwable
Logs any throwable and string format message with args at the error level . @param error the Throwable to be logged @param message the message to be logged . Can be in string format structure @param format the format arguments for the format message string @param any type that extends throwable @return the original Throwable
public static <T extends Throwable> T logFailure(T error, String message, Object... format)
  {
    LOG.error(error, message, format);
    return error;
  }
public static < T extends Throwable > T logFailure ( T error , String message , Object ... format ) { LOG . error ( error , message , format ) ; return error ; }
Logs any throwable and string format message with args at the error level.
Logs any throwable and string format message with args at the error level .