logahawk
Class Utils

java.lang.Object
  extended by logahawk.Utils

public final class Utils
extends Object

Provides various utility functions for the classes in this package.


Method Summary
static void addStandardFormatters(SimpleLogger logger)
          Adds all standard SignatureFormatter and ArgumentFormatter that exist in the "formatters" package.
static void addStandardFormatters(SimpleLogger logger, Collection<SignatureFormatter> signatureFormatters, Collection<ArgumentFormatter> argumentFormatters)
          Adds all standard Signature and Argument Formatters that exist in the "formatters" package.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addStandardFormatters

public static void addStandardFormatters(SimpleLogger logger)
Adds all standard SignatureFormatter and ArgumentFormatter that exist in the "formatters" package.


addStandardFormatters

public static void addStandardFormatters(SimpleLogger logger,
                                         Collection<SignatureFormatter> signatureFormatters,
                                         Collection<ArgumentFormatter> argumentFormatters)
Adds all standard Signature and Argument Formatters that exist in the "formatters" package.

Parameters:
signatureFormatters - SignatureFormatters that will be added before adding the standard SignatureFormatters.
argumentFormatters - ArgumentFormatters that will be added before adding the standard ArgumentFormatters.