com.opensymphony.xwork2.util.logging
Class LoggerUtils

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

public class LoggerUtils
extends java.lang.Object

Logging utility methods


Constructor Summary
LoggerUtils()
           
 
Method Summary
static java.lang.String format(java.lang.String msg, java.lang.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 java.lang.String format(java.lang.String msg,
                                      java.lang.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 © 2000-2011 Apache Software Foundation. All Rights Reserved.