com.opensymphony.xwork2.util.logging

## Class LoggerUtils

- java.lang.Object
- - com.opensymphony.xwork2.util.logging.LoggerUtils

- Deprecated.
  since 2.5

      @Deprecated
      public class LoggerUtils
      extends Object

  Logging utility methods

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LoggerUtils()` Deprecated.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `format(String msg, Object[] args)` Deprecated.
    `static String` | `format(String msg, String... args)` Deprecated. Formats messages using parameters.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LoggerUtils

          public LoggerUtils()

      Deprecated.

  - ### Method Detail

    - #### format

          public static String format(String msg,
                      String... args)

      Deprecated.
      Formats messages using parameters. For example, the call:

           format("foo #0 #1", "bob", "joe");

      will return:

           foo bob joe

      Parameters:
        `msg` - The message
        `args` - A list of arguments. A maximum of 10 are supported.
      Returns:
        The formatted string

    - #### format

          public static String format(String msg,
                      Object[] args)

      Deprecated.

Copyright © 2000–2021 Apache Software Foundation. All rights reserved.