logahawk.formatters
Interface SignatureFormatterContainer

All Known Implementing Classes:
DefaultSignatureFormatterContainer

public interface SignatureFormatterContainer

A container class for SignatureFormatters. It will modify signature provided by a Logger instance based on the SignatureFormatters it contains.


Method Summary
 void add(SignatureFormatter... formatters)
          Adds the provided SignatureFormatters.
 void format(List<Object> arguments)
          This will re-arrange and alter the signature provided into a new signature based on the SignatureFormatters contained in this instance.
 

Method Detail

add

void add(SignatureFormatter... formatters)
Adds the provided SignatureFormatters. A SignatureFormatter can be shared among SignatureFormatterContainers. It is recommended to make them thread-safe to simplify sharing.


format

void format(List<Object> arguments)
This will re-arrange and alter the signature provided into a new signature based on the SignatureFormatters contained in this instance. The exact mechanics of how this is done is left to the derived classes.