Package logahawk.formatters

Interface Summary
ArgumentFormatter This class helps format individual objects (the arguments) provided to the log methods into simple String messages that can be written to the log.
ArgumentFormatterContainer A container class for ArgumentFormatters.
MessageFormatter Formats a LogMeta and String message into a single string.
SignatureFormatter This class can rearrange and format the entirety a log message.
SignatureFormatterContainer A container class for SignatureFormatters.
 

Class Summary
AbstractArgumentFormatter Useful base class for ArgumentFormatters.
AbstractCollectionArgFormatter Abstract base class for ArgumentFormatters that writes each object in the Collections on a single line.
ArrayArgFormatter Formats arrays of objects using a wrapped CollectionArgFormatter.
ClassArgFormatter Formats Class objects.
CollectionArgFormatter Formats Collections of objects by deferring each instance in the collection to the provided formatters.
ConcatCollectionArgFormatter Concatonates all objects in the Collections together into a single String.
DateArgFormatter This formatter can handle Date objects.
DefaultArgFormatter Provides basic information about any object, specifically the Class, hashcode, and results of toString().
DefaultArgumentFormatterContainer A basic implementation of ArgumentFormatterContainer.
DefaultSignatureFormatterContainer A basic implementation of SignatureFormatterContainer.
DimensionArgFormatter Formatter for Dimension instances.
FileArgFormatter Formats File instances.
FormatterSigFormatter Formats a String that can be formatted by a Formatter, using the arguments that follow the formattable String.
HashedMessageFormatter Calculates a hash of the log message, and prepends that has to the message.
HashedMessageFormatter.HashMessagePair Helper class that holds the hash and original message separately.
HierarchicalCollectionArgFormatter Writes each object in the Collections in a way that shows a hierarchy between the objects.
MapArgFormatter Formats a map object to be output as "[index] key -> value".
MultiLineCollectionArgFormatter Writes each object in the Collections on a single line.
NullArgFormatter Formats null arguments with the String "null".
NullSigFormatter This will remove any "null" arguments from the log message.
ParentObjectArgFormatter Formats the object and its parents allowing one to see an object's context in relation to other objects.
PrimitiveArgFormatter Formats primitive types by using their toString() implementation.
RollingHashedMessageFormatter Hashes log messages using a rolling hash -- that is the hash of the previous message is part of the hash for the following hash.
SimpleMessageFormatter A very simple MessageFormatter that does not output the time of the log message.
StandardExceptionSigFormatter This will reformat the signature of an message where a String message is followed by an Exception.
StandardMessageFormatter Provides the standard log formatting (default implementatons of LogMeta.
StringArgFormatter This formatter can handle CharSequence and Character objects, including String, StringBuilder, and StringBuffer.
SwingArgFormatter Formats Swing and AWT components.
SwingParentArgFormatter Uses a SwingArgFormatter to format AWT/Swing objects to show its context within its parent AWT/Swing objects.
ThreadMessageFormatter Provides the log formatting of ThreadLogMeta, very similar to StandardMessageFormatter.
ThrowableArgFormatter This formatter can handle "Throwable" objects -- namely Exceptions.
ThrowableArgFormatter.ThrowablePlusMessage This is a specialized class that contains an Throwable and a user String message.
UriArgFormatter Formats URI instances.
UrlArgFormatter Formats URL instances.
UuidArgFormatter Formats UUID instances;
XmlNodeArgFormatter Formats Nodes as XML strings.
XmlNodeParentArgFormatter Uses a XmlNodeArgFormatter to format XML Nodes to show their full path.