core/play/src/main/java/play/Logger.java
@Deprecated
  public static void error(String message, Object... args) {
    logger.error(message, args);
  }
@Deprecated
  public static void error(String message, Object... args) {
    logger.error(message, args);
  }
@ Deprecated public static void error ( String message , Object ... args ) { logger . error ( message , args ) ; }
Log a message with the ERROR level.

@param message message to log
@param args The arguments to apply to the message string
@deprecated Deprecated as of 2.7.0. Create an instance of {@link ALogger} via {@link
#of(String)} / {@link #of(Class)} and use the same-named method. Or use SLF4J directly.
Log a message with the ERROR level .