com.opensymphony.xwork2.util.logging
Class LoggerUtils

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

public class LoggerUtils
extends Object

Logging utility methods


Constructor Summary
LoggerUtils()
           
 
Method Summary
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 #1", "bob");
 
will return:
 foo bob
 

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


Copyright © 2009 OpenSymphony. All Rights Reserved.