Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.opensymphony.xwork2.util.logging
Class LoggerUtils

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

    public class LoggerUtils

extends Object

Logging utility methods

Constructor Summary
`LoggerUtils()`

Method Summary
`static String` | `format(String msg, Object[] args)`
`static String` | `format(String msg, String... args)` 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()

Method Detail

### format

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

  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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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