org.opends.server.loggers.debug
Class DebugMessageFormatter

java.lang.Object
  extended by org.opends.server.loggers.debug.DebugMessageFormatter

public class DebugMessageFormatter
extends java.lang.Object

This class is responsible for formatting messages and replacing format tokens with the text value of message arguments in debug logging records.


Constructor Summary
DebugMessageFormatter()
           
 
Method Summary
static java.lang.String format(java.lang.String msg, java.lang.Object[] msgArgs)
          Format the message format string with the provided arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugMessageFormatter

public DebugMessageFormatter()
Method Detail

format

public static java.lang.String format(java.lang.String msg,
                                      java.lang.Object[] msgArgs)
Format the message format string with the provided arguments.

Parameters:
msg - the message format string to be formatted.
msgArgs - the arguments to use when replacing tokens in the message.
Returns:
the formatted message string.