A B C D E F G H I J L M N O P Q R S T U V W X

A

AbstractArgumentFormatter - Class in logahawk.formatters
Useful base class for ArgumentFormatters.
AbstractArgumentFormatter() - Constructor for class logahawk.formatters.AbstractArgumentFormatter
 
AbstractCollectionArgFormatter - Class in logahawk.formatters
Abstract base class for ArgumentFormatters that writes each object in the Collections on a single line.
AbstractCollectionArgFormatter(boolean, int) - Constructor for class logahawk.formatters.AbstractCollectionArgFormatter
 
AbstractContainer<T> - Class in logahawk
An abstract base class to help implement the various container classes such as ArgumentFormatterContainer, SignatureFormatterContainer, ListenerContainer, etc.
AbstractContainer() - Constructor for class logahawk.AbstractContainer
 
AbstractContainer(Collection<T>) - Constructor for class logahawk.AbstractContainer
Adds the provided items to this container.
AbstractLogger - Class in logahawk
An implementation of Logger that redirects all the Severity specific methods to the general Logger.log(Severity, Object...) method.
AbstractLogger() - Constructor for class logahawk.AbstractLogger
 
accept(Severity, Object...) - Method in interface logahawk.FilterLogger.Filter
 
accept(LogMeta, String) - Method in interface logahawk.listeners.FilterListener.Filter
 
accept(LogMeta, String) - Method in class logahawk.listeners.SeverityFilterListener.SevFilterAdapter
 
accept(Severity, Object...) - Method in class logahawk.SeverityFilterLogger.SevFilterAdapter
 
add(T...) - Method in class logahawk.AbstractContainer
Adds the items in the order they provided.
add(ArgumentFormatter...) - Method in interface logahawk.formatters.ArgumentFormatterContainer
Adds the provided ArgumentFormatters.
add(SignatureFormatter...) - Method in interface logahawk.formatters.SignatureFormatterContainer
Adds the provided SignatureFormatters.
add(Listener...) - Method in interface logahawk.listeners.ListenerContainer
Adds Listeners to the logger.
addAll(Collection<T>) - Method in class logahawk.AbstractContainer
Adds the items in the order they provided.
addAll(Collection<Logger>) - Method in class logahawk.FlattenedMultiLogger
 
addStandardFormatters(SimpleLogger) - Static method in class logahawk.Utils
Adds all standard SignatureFormatter and ArgumentFormatter that exist in the "formatters" package.
addStandardFormatters(SimpleLogger, Collection<SignatureFormatter>, Collection<ArgumentFormatter>) - Static method in class logahawk.Utils
Adds all standard Signature and Argument Formatters that exist in the "formatters" package.
addTrailingLineBreak - Variable in class logahawk.formatters.StandardMessageFormatter
 
addTrailingLineBreak - Variable in class logahawk.formatters.ThreadMessageFormatter
 
alert(Object...) - Method in class logahawk.AbstractLogger
 
alert(Object...) - Method in interface logahawk.Logger
Alert is an information message (like Logger.info(Object...)) but is more significant.
alert(Object...) - Method in class logahawk.MultiLogger
 
alert(Object...) - Method in class logahawk.NullLogger
 
appendable - Variable in class logahawk.listeners.AppendableListener
 
AppendableListener - Class in logahawk.listeners
Allows logging to any Appendable destination object, such as Writer, StringBuffer, or StringBuilder.
AppendableListener(Appendable) - Constructor for class logahawk.listeners.AppendableListener
 
AppendableListener(Appendable, MessageFormatter) - Constructor for class logahawk.listeners.AppendableListener
 
ArgumentFormatter - Interface in logahawk.formatters
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 - Interface in logahawk.formatters
A container class for ArgumentFormatters.
argumentFormatterContainer - Variable in class logahawk.SimpleLogger
 
ArrayArgFormatter - Class in logahawk.formatters
Formats arrays of objects using a wrapped CollectionArgFormatter.
ArrayArgFormatter() - Constructor for class logahawk.formatters.ArrayArgFormatter
Uses a MultiLineCollectionArgFormatter for ArrayArgFormatter.collectionArgFormatter.
ArrayArgFormatter(CollectionArgFormatter) - Constructor for class logahawk.formatters.ArrayArgFormatter
 

B

backup - Variable in class logahawk.listeners.FailSafeListener
 
Base32 - Class in logahawk.util
Base32 - encodes and decodes RFC3548 Base32 (see http://www.faqs.org/rfcs/rfc3548.html )
Base32() - Constructor for class logahawk.util.Base32
 
block - Variable in class logahawk.swing.EventDispatchThreadListener
If true this will use SwingUtilities.invokeAndWait(Runnable), blocking the calling thread.
BlockingQueueLogger - Class in logahawk
Queues log requests in a BlockingQueue, and a separate Logger to format and broadcast to Listeners in a separate Thread.
BlockingQueueLogger(Logger) - Constructor for class logahawk.BlockingQueueLogger
 
BlockingQueueLogger(Logger, BlockingQueue<LogEntry>) - Constructor for class logahawk.BlockingQueueLogger
 
broadcast(Severity, Object...) - Method in class logahawk.SimpleLogger
This will broadcast the log message to all the Listener instances registered with this object.
buffer - Variable in class logahawk.formatters.SimpleMessageFormatter
A single StringBuilder is used to avoid having to re-allocate a string each time.
buffer - Variable in class logahawk.formatters.StandardMessageFormatter
A single StringBuilder is used to avoid having to re-allocate a string each time.
buffer - Variable in class logahawk.formatters.ThreadMessageFormatter
A single StringBuilder is used to avoid having to re-allocate a string each time.
BufferedListener - Class in logahawk.listeners
A Listener implementation that buffers all log arguments (prior to any formatting).
BufferedListener() - Constructor for class logahawk.listeners.BufferedListener
Initializes the BufferedListener.listenerEntries field with a ConcurrentLinkedQueue, which ensure the thread-safety of this class.
BufferedListener(Queue<LogListenerEntry>) - Constructor for class logahawk.listeners.BufferedListener
 
BufferedLogger - Class in logahawk
A Logger implementation that buffers all log arguments (prior to any formatting).
BufferedLogger() - Constructor for class logahawk.BufferedLogger
Initializes the BufferedLogger.entries field with a ConcurrentLinkedQueue, which ensure the thread-safety of this class.
BufferedLogger(Queue<List<Object>>) - Constructor for class logahawk.BufferedLogger
 
buildIndent(int) - Method in class logahawk.SimpleIndentor
Creates indents strings; does not use SimpleIndentor.cache.

C

canFormat(Object) - Method in interface logahawk.formatters.ArgumentFormatter
This should return true only if this can provide a useful formatting for this type of object.
canFormat(Object) - Method in class logahawk.formatters.ArrayArgFormatter
 
canFormat(Object) - Method in class logahawk.formatters.ClassArgFormatter
 
canFormat(Object) - Method in class logahawk.formatters.CollectionArgFormatter
Formats anything that implements Iterable.
canFormat(Object) - Method in class logahawk.formatters.DateArgFormatter
This class can handle any normal type of collection.
canFormat(Object) - Method in class logahawk.formatters.DefaultArgFormatter
Returns true only if the object is not null.
canFormat(Object) - Method in class logahawk.formatters.DimensionArgFormatter
 
canFormat(Object) - Method in class logahawk.formatters.FileArgFormatter
 
canFormat(List<Object>) - Method in class logahawk.formatters.FormatterSigFormatter
 
canFormat(Object) - Method in class logahawk.formatters.MapArgFormatter
 
canFormat(Object) - Method in class logahawk.formatters.NullArgFormatter
 
canFormat(List<Object>) - Method in class logahawk.formatters.NullSigFormatter
 
canFormat(Object) - Method in class logahawk.formatters.ParentObjectArgFormatter
Default implementations returns ParentObjectArgFormatter.canFormat(Object) on ParentObjectArgFormatter.childFormatter.
canFormat(Object) - Method in class logahawk.formatters.PrimitiveArgFormatter
 
canFormat(List<Object>) - Method in interface logahawk.formatters.SignatureFormatter
This should return true only if this "Formatter" can provide a useful formatting for this signature.
canFormat(List<Object>) - Method in class logahawk.formatters.StandardExceptionSigFormatter
 
canFormat(Object) - Method in class logahawk.formatters.StringArgFormatter
 
canFormat(Object) - Method in class logahawk.formatters.SwingArgFormatter
 
canFormat(Object) - Method in class logahawk.formatters.ThrowableArgFormatter
 
canFormat(Object) - Method in class logahawk.formatters.UriArgFormatter
 
canFormat(Object) - Method in class logahawk.formatters.UrlArgFormatter
 
canFormat(Object) - Method in class logahawk.formatters.UuidArgFormatter
 
canFormat(Object) - Method in class logahawk.formatters.XmlNodeArgFormatter
 
childFormatter - Variable in class logahawk.formatters.ParentObjectArgFormatter
Formats the child object.
ClassArgFormatter - Class in logahawk.formatters
Formats Class objects.
ClassArgFormatter() - Constructor for class logahawk.formatters.ClassArgFormatter
 
clear() - Method in class logahawk.AbstractContainer
 
clear() - Method in class logahawk.HashLoggerRegistry
Removes all registered Loggers.
clear() - Method in class logahawk.HierarchicalLoggerRegistry
Removes all registered Loggers.
collectionArgFormatter - Variable in class logahawk.formatters.ArrayArgFormatter
Used to format the objects after unpacking
CollectionArgFormatter - Class in logahawk.formatters
Formats Collections of objects by deferring each instance in the collection to the provided formatters.
CollectionArgFormatter() - Constructor for class logahawk.formatters.CollectionArgFormatter
 
collectionArgFormatter - Variable in class logahawk.formatters.DefaultArgumentFormatterContainer
We use this as the formatter for the call to DefaultArgumentFormatterContainer.format(List).
collectionArgFormatter - Variable in class logahawk.formatters.ParentObjectArgFormatter
Formats the parents objects.
concat - Variable in class logahawk.formatters.AbstractCollectionArgFormatter
Used to merge the formatted lines into one big String with the appropriate new lines.
concat - Variable in class logahawk.formatters.HierarchicalCollectionArgFormatter
Used to merge the formatted lines into one big String with the appropriate new lines.
concat - Variable in class logahawk.formatters.ThrowableArgFormatter
Used to merge the formatted lines into one big String with the appropriate new lines.
ConcatCollectionArgFormatter - Class in logahawk.formatters
Concatonates all objects in the Collections together into a single String.
ConcatCollectionArgFormatter() - Constructor for class logahawk.formatters.ConcatCollectionArgFormatter
 
ConcatCollectionArgFormatter(String) - Constructor for class logahawk.formatters.ConcatCollectionArgFormatter
 
ConcatCollectionArgFormatter(String, String, String) - Constructor for class logahawk.formatters.ConcatCollectionArgFormatter
 
ConsoleListener - Class in logahawk.listeners
This will output all log statements to the console.
ConsoleListener() - Constructor for class logahawk.listeners.ConsoleListener
 
ConsoleListener(MessageFormatter) - Constructor for class logahawk.listeners.ConsoleListener
 
convert(Severity) - Method in class logahawk.listeners.JavaLoggerListener
Converts our "Severity" into a Java Logging API "Level" object.
countFormatArguments(String) - Method in class logahawk.formatters.FormatterSigFormatter
Counts the number of arguments that the provided String will use.
create(Severity) - Method in class logahawk.listeners.DefaultLogMetaProvider
 
create(Severity) - Method in interface logahawk.listeners.LogMetaProvider
 
create(Severity) - Method in class logahawk.listeners.ThreadLogMetaProvider
 
createDigest(String) - Method in class logahawk.formatters.HashedMessageFormatter
Creates a digest from the provided message.
createDigest(String) - Method in class logahawk.formatters.RollingHashedMessageFormatter
 
createIndent(int) - Method in interface logahawk.Indentor
Returns the string that should be used for indenting.
createIndent(int) - Method in class logahawk.SimpleIndentor
 
createStringBuilder(List<String>) - Method in class logahawk.formatters.ConcatCollectionArgFormatter
Creates a StringBuilder of the appropriate size to avoid re-allocation.

D

DateArgFormatter - Class in logahawk.formatters
This formatter can handle Date objects.
DateArgFormatter() - Constructor for class logahawk.formatters.DateArgFormatter
 
DateArgFormatter(DateFormat) - Constructor for class logahawk.formatters.DateArgFormatter
 
dateFormat - Variable in class logahawk.formatters.DateArgFormatter
 
dateFormat - Variable in class logahawk.formatters.StandardMessageFormatter
 
dateFormat - Variable in class logahawk.formatters.ThreadMessageFormatter
 
debug(Object...) - Method in class logahawk.AbstractLogger
 
debug(Object...) - Method in interface logahawk.Logger
Debug is an developer or systems information message.
debug(Object...) - Method in class logahawk.MultiLogger
 
debug(Object...) - Method in class logahawk.NullLogger
 
decode(String) - Static method in class logahawk.util.Base32
Decodes the given Base32 String to a raw byte array.
DefaultArgFormatter - Class in logahawk.formatters
Provides basic information about any object, specifically the Class, hashcode, and results of toString().
DefaultArgFormatter() - Constructor for class logahawk.formatters.DefaultArgFormatter
 
DefaultArgumentFormatterContainer - Class in logahawk.formatters
A basic implementation of ArgumentFormatterContainer.
DefaultArgumentFormatterContainer() - Constructor for class logahawk.formatters.DefaultArgumentFormatterContainer
 
DefaultArgumentFormatterContainer(Collection<ArgumentFormatter>) - Constructor for class logahawk.formatters.DefaultArgumentFormatterContainer
 
DefaultListenerContainer - Class in logahawk.listeners
Default implementation of ListenerContainer.
DefaultListenerContainer() - Constructor for class logahawk.listeners.DefaultListenerContainer
 
DefaultListenerContainer(Collection<Listener>) - Constructor for class logahawk.listeners.DefaultListenerContainer
 
DefaultLogMeta - Class in logahawk.listeners
Default LogMeta implementation.
DefaultLogMeta(Severity) - Constructor for class logahawk.listeners.DefaultLogMeta
Sets the epoch a new Date instance using the default constructor.
DefaultLogMeta(Severity, Date) - Constructor for class logahawk.listeners.DefaultLogMeta
 
DefaultLogMetaProvider - Class in logahawk.listeners
Implements the LogMetaProvider interface by returning DefaultLogMeta instances.
DefaultLogMetaProvider() - Constructor for class logahawk.listeners.DefaultLogMetaProvider
 
DefaultLogMetaProvider(long) - Constructor for class logahawk.listeners.DefaultLogMetaProvider
 
DefaultSignatureFormatterContainer - Class in logahawk.formatters
A basic implementation of SignatureFormatterContainer.
DefaultSignatureFormatterContainer() - Constructor for class logahawk.formatters.DefaultSignatureFormatterContainer
 
DefaultSignatureFormatterContainer(Collection<SignatureFormatter>) - Constructor for class logahawk.formatters.DefaultSignatureFormatterContainer
 
DimensionArgFormatter - Class in logahawk.formatters
Formatter for Dimension instances.
DimensionArgFormatter() - Constructor for class logahawk.formatters.DimensionArgFormatter
 

E

enableMap - Variable in class logahawk.SeverityFilter
 
encode(byte[]) - Method in class logahawk.formatters.HashedMessageFormatter
Encodes the digest hash bytes into something smaller for a log message.
encode(byte[]) - Static method in class logahawk.util.Base32
Encodes byte array to Base32 String.
entries - Variable in class logahawk.BufferedLogger
The Queue used to hold log arguments.
error(Object...) - Method in class logahawk.AbstractLogger
 
error(Object...) - Method in interface logahawk.Logger
Indicates a generic error occurred.
error(Object...) - Method in class logahawk.MultiLogger
 
error(Object...) - Method in class logahawk.NullLogger
 
EventDispatchThreadListener - Class in logahawk.swing
Ensures that the proxied Listener is only called on the EDT.
EventDispatchThreadListener(Listener) - Constructor for class logahawk.swing.EventDispatchThreadListener
 
EventDispatchThreadListener(Listener, boolean) - Constructor for class logahawk.swing.EventDispatchThreadListener
 

F

FailSafeListener - Class in logahawk.listeners
A special Listener designed to handle exceptions thrown by the Listener.log(LogMeta, String) method.
FailSafeListener(Listener, Listener, LogMetaProvider) - Constructor for class logahawk.listeners.FailSafeListener
 
fatal(Object...) - Method in class logahawk.AbstractLogger
 
fatal(Object...) - Method in interface logahawk.Logger
Indicates a error occurred that halts some operation.
fatal(Object...) - Method in class logahawk.MultiLogger
 
fatal(Object...) - Method in class logahawk.NullLogger
 
FileArgFormatter - Class in logahawk.formatters
Formats File instances.
FileArgFormatter() - Constructor for class logahawk.formatters.FileArgFormatter
 
FilterListener - Class in logahawk.listeners
A generic filtering Listener.
FilterListener(Listener, FilterListener.Filter) - Constructor for class logahawk.listeners.FilterListener
 
FilterListener.Filter - Interface in logahawk.listeners
Accepts or rejects the provided log statement.
FilterLogger - Class in logahawk
A generic filtering Logger.
FilterLogger(Logger, FilterLogger.Filter) - Constructor for class logahawk.FilterLogger
 
FilterLogger.Filter - Interface in logahawk
Accepts or rejects the provided log statement.
findFormatter(Object, Collection<ArgumentFormatter>) - Method in class logahawk.formatters.AbstractArgumentFormatter
Returns the first ArgumentFormatter whose canFormat() returns true for the provided object.
FlattenedMultiLogger - Class in logahawk
A variation of MultiLogger that will flatten a hierarchy of FlattenedMultiLogger.
FlattenedMultiLogger() - Constructor for class logahawk.FlattenedMultiLogger
 
format(Object, Collection<ArgumentFormatter>, int) - Method in interface logahawk.formatters.ArgumentFormatter
This converts the object into a String that represent the object.
format(List<Object>) - Method in interface logahawk.formatters.ArgumentFormatterContainer
Applies each ArgumentFormatter to the arguments to get the corresponding Strings, and then merges all the String arguments together into one final String message.
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.ArrayArgFormatter
 
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.ClassArgFormatter
 
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.ConcatCollectionArgFormatter
Formats the provided object into a list of objects, displaying the index before each item.
format(List<String>) - Method in class logahawk.formatters.ConcatCollectionArgFormatter
Formats the provided object into a list of objects, displaying the index before each item.
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.DateArgFormatter
 
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.DefaultArgFormatter
 
format(List<Object>) - Method in class logahawk.formatters.DefaultArgumentFormatterContainer
Formats the provided arguments using a CollectionArgFormatter.
format(List<Object>) - Method in class logahawk.formatters.DefaultSignatureFormatterContainer
Applies each SignatureFormatter to the arguments once, in the order they were added.
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.DimensionArgFormatter
 
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.FileArgFormatter
 
format(List<Object>) - Method in class logahawk.formatters.FormatterSigFormatter
 
format(LogMeta, String) - Method in class logahawk.formatters.HashedMessageFormatter
The log message is first created by the constructor provided MessageFormatter.
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.HierarchicalCollectionArgFormatter
Formats the provided object into a list of objects, displaying the index before each item.
format(List<Object>, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.HierarchicalCollectionArgFormatter
 
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.MapArgFormatter
Formats the provided object into a map of objects, displaying the index before each key value pair.
format(LogMeta, String) - Method in interface logahawk.formatters.MessageFormatter
 
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.MultiLineCollectionArgFormatter
Formats the provided object into a list of objects, displaying the index before each item.
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.NullArgFormatter
 
format(List<Object>) - Method in class logahawk.formatters.NullSigFormatter
 
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.ParentObjectArgFormatter
 
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.PrimitiveArgFormatter
 
format(List<Object>) - Method in interface logahawk.formatters.SignatureFormatter
This will re-arrange and alter the signature provided into a new signature.
format(List<Object>) - Method in interface logahawk.formatters.SignatureFormatterContainer
This will re-arrange and alter the signature provided into a new signature based on the SignatureFormatters contained in this instance.
format(LogMeta, String) - Method in class logahawk.formatters.SimpleMessageFormatter
 
format(List<Object>) - Method in class logahawk.formatters.StandardExceptionSigFormatter
 
format(LogMeta, String) - Method in class logahawk.formatters.StandardMessageFormatter
 
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.StringArgFormatter
 
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.SwingArgFormatter
 
format(LogMeta, String) - Method in class logahawk.formatters.ThreadMessageFormatter
 
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.ThrowableArgFormatter
 
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.UriArgFormatter
 
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.UrlArgFormatter
 
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.UuidArgFormatter
 
format(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.XmlNodeArgFormatter
 
format(Object...) - Method in class logahawk.SimpleLogger
This will use the installed "SignatureFormatter" and "ArgumentFormatter" objects to format the provided arguments into a log-able string.
format(List<Object>) - Method in class logahawk.SimpleLogger
This will use the provided SignatureFormatters and ArgumentFormatters objects to format the provided arguments into a log-able string.
formatFooter(Collection<?>, int) - Method in class logahawk.formatters.AbstractCollectionArgFormatter
Returns a footer string, which will be the last item displayed.
formatHeader(Collection<?>) - Method in class logahawk.formatters.AbstractCollectionArgFormatter
Returns a header string, which will be the first item displayed.
formatHeader(Collection<?>) - Method in class logahawk.formatters.MapArgFormatter
 
formatList(Collection<?>, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.AbstractCollectionArgFormatter
 
formatObj(Object, int, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.AbstractCollectionArgFormatter
Formats a single object at the provided index.
formatObj(Object, int, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.MapArgFormatter
 
formatObj(Object, int, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.MultiLineCollectionArgFormatter
 
formatSingleObj(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.AbstractCollectionArgFormatter
Special formatting request when the collection contains only one item.
formatSingleSpecial - Variable in class logahawk.formatters.AbstractCollectionArgFormatter
If true this will format a list with a single object using AbstractCollectionArgFormatter.formatSingleObj(Object, Collection, int) without any call to AbstractCollectionArgFormatter.formatHeader(Collection) or AbstractCollectionArgFormatter.formatFooter(Collection, int).
formatSpecifier - Static variable in class logahawk.formatters.FormatterSigFormatter
Copied from java\lang\Formatter.java
formatStackTrace(StackTraceElement[]) - Method in class logahawk.formatters.ThrowableArgFormatter
This method will format the StackTrace according to our indention rules.
formatter - Variable in class logahawk.listeners.AppendableListener
 
formatter - Variable in class logahawk.listeners.JavaLoggerListener
 
formatter - Variable in class logahawk.listeners.StreamListener
 
FormatterSigFormatter - Class in logahawk.formatters
Formats a String that can be formatted by a Formatter, using the arguments that follow the formattable String.
FormatterSigFormatter() - Constructor for class logahawk.formatters.FormatterSigFormatter
 

G

get(String) - Method in class logahawk.HashLoggerRegistry
Returns the Logger previously registered with the provided key via HashLoggerRegistry.put(String, Logger).
get(Class) - Method in class logahawk.HashLoggerRegistry
Returns the Logger using Class.getName() as an argument to HashLoggerRegistry.get(String).
get(String) - Method in class logahawk.HierarchicalLoggerRegistry
Returns the Logger for the provided class path.
get(Class) - Method in class logahawk.HierarchicalLoggerRegistry
Returns the Logger using Class.getName() as an argument to HierarchicalLoggerRegistry.get(String).
get(String) - Method in interface logahawk.LoggerRegistry
Returns a Logger for the provided String.
get(Class) - Method in interface logahawk.LoggerRegistry
Returns a Logger for the provided Class.
getAddTrailingLineBreak() - Method in class logahawk.formatters.StandardMessageFormatter
Returns true if the formatter will append a trailing line break.
getAddTrailingLineBreak() - Method in class logahawk.formatters.ThreadMessageFormatter
Returns true if the formatter will append a trailing line break.
getAlertStyle() - Method in class logahawk.swing.JLogViewer
 
getAnonymousValue() - Method in class logahawk.formatters.SwingArgFormatter
Used when a Component.getName() (or similar) is null or empty and there is no alternative label or text value to substitute.
getArgumentFormatterContainer() - Method in class logahawk.SimpleLogger
 
getArguments() - Method in class logahawk.LogEntry
 
getChildObjectFormat(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.AbstractArgumentFormatter
Formats the provided object using the provided ArgumentFormatters.
getCurrentDate() - Method in class logahawk.listeners.DefaultLogMetaProvider
Returns the current date shifted by DefaultLogMetaProvider.offsetMs;
getDateFormat() - Method in class logahawk.formatters.DateArgFormatter
The "DateArgFormatter" is what we use to format the epoch of a log message.
getDebugStyle() - Method in class logahawk.swing.JLogViewer
 
getDefaultStyle() - Method in class logahawk.swing.JLogViewer
The default Style for all the different Style types used.
getEnabled(Severity) - Method in class logahawk.SeverityFilter
Returns true if the Severity is enabled or allowed.
getEntries() - Method in class logahawk.BufferedLogger
 
getEntries() - Method in class logahawk.listeners.BufferedListener
 
getEpoch() - Method in class logahawk.listeners.DefaultLogMeta
 
getEpoch() - Method in interface logahawk.listeners.LogMeta
 
getErrorStyle() - Method in class logahawk.swing.JLogViewer
 
getFatalStyle() - Method in class logahawk.swing.JLogViewer
 
getFixedLengthString() - Method in enum logahawk.Severity
Returns the enumerations value padded to the maximum size of any enumeration value.
getHash() - Method in class logahawk.formatters.HashedMessageFormatter.HashMessagePair
 
getHashPrefix() - Method in class logahawk.formatters.HashedMessageFormatter
Returns the prefix for the Hash.
getHashSuffix() - Method in class logahawk.formatters.HashedMessageFormatter
Returns the suffix for the Hash.
getId() - Method in class logahawk.listeners.ThreadLogMeta
 
getIndentor() - Method in class logahawk.formatters.AbstractArgumentFormatter
The Indentor used by this class.
getInfoStyle() - Method in class logahawk.swing.JLogViewer
 
getKeys() - Method in class logahawk.HashLoggerRegistry
Returns the keys of all registered Loggers.
getKeys() - Method in class logahawk.HierarchicalLoggerRegistry
Returns the keys of all registered Loggers.
getListenerContainer() - Method in class logahawk.SimpleLogger
 
getLogEntries() - Method in class logahawk.listeners.MemoryListener
 
getLoggers() - Method in class logahawk.MultiLogger
 
getLogMeta() - Method in class logahawk.listeners.LogListenerEntry
 
getLogMeta() - Method in class logahawk.LogEntry
 
getLogMetaProvider() - Method in class logahawk.SimpleLogger
 
getMessage() - Method in class logahawk.formatters.HashedMessageFormatter.HashMessagePair
 
getMessageType(Severity) - Method in class logahawk.swing.JOptionPaneListener
Returns the following: JOptionPane.PLAIN_MESSAGE for Severity.DEBUG JOptionPane.INFORMATION_MESSAGE for Severity.INFO JOptionPane.INFORMATION_MESSAGE for Severity.ALERT JOptionPane.WARNING_MESSAGE for Severity.WARN JOptionPane.ERROR_MESSAGE for Severity.ERROR JOptionPane.ERROR_MESSAGE for Severity.FATAL JOptionPane.ERROR_MESSAGE for Severity.PANIC
getName(Object) - Method in class logahawk.formatters.SwingArgFormatter
Returns the name of the Object.
getName() - Method in class logahawk.listeners.ThreadLogMeta
 
getNormalCaseValue() - Method in enum logahawk.Severity
Returns Severity.toString() with normal casing -- first letter uppercase, other letters lowercase.
getPanicStyle() - Method in class logahawk.swing.JLogViewer
 
getParent(Object) - Method in class logahawk.formatters.ParentObjectArgFormatter
Returns the parent of the provided object.
getParent(Object) - Method in class logahawk.formatters.SwingParentArgFormatter
 
getParent(Object) - Method in class logahawk.formatters.XmlNodeParentArgFormatter
 
getParentPath(String) - Method in class logahawk.HierarchicalLoggerRegistry
Returns a more general (or more "root") path from the given path.
getPriority() - Method in class logahawk.listeners.ThreadLogMeta
 
getRootLogger() - Method in class logahawk.HashLoggerRegistry
 
getRootLogger() - Method in class logahawk.HierarchicalLoggerRegistry
 
getRootLogger() - Method in interface logahawk.LoggerRegistry
Returns the root (or default) Logger.
getScrollableTracksViewportWidth() - Method in class logahawk.swing.JLogViewer
 
getSeverity() - Method in class logahawk.listeners.DefaultLogMeta
 
getSeverity() - Method in interface logahawk.listeners.LogMeta
 
getSignatureFormatterContainer() - Method in class logahawk.SimpleLogger
 
getSingleIndent() - Method in class logahawk.SimpleIndentor
The string used for a single indent (ie: indent level 1).
getStringBuilder() - Method in class logahawk.listeners.StringBuilderListener
 
getText() - Method in class logahawk.listeners.LogListenerEntry
 
getThrowable() - Method in class logahawk.formatters.ThrowableArgFormatter.ThrowablePlusMessage
This is the Throwable.
getType(Object) - Method in class logahawk.formatters.SwingArgFormatter
Returns the type of the Component.
getUserMessage() - Method in class logahawk.formatters.ThrowableArgFormatter.ThrowablePlusMessage
This is the user specified message, separate from the Throwable's message.
getValue(Object, Collection<ArgumentFormatter>, int) - Method in class logahawk.formatters.SwingArgFormatter
Returns the value of the Object; returns null for non-input controls.
getWarnStyle() - Method in class logahawk.swing.JLogViewer
 
getWriter() - Method in class logahawk.listeners.WriterListener
 

H

HashedMessageFormatter - Class in logahawk.formatters
Calculates a hash of the log message, and prepends that has to the message.
HashedMessageFormatter(MessageFormatter, MessageDigest) - Constructor for class logahawk.formatters.HashedMessageFormatter
 
HashedMessageFormatter.HashMessagePair - Class in logahawk.formatters
Helper class that holds the hash and original message separately.
HashedMessageFormatter.HashMessagePair(String, String) - Constructor for class logahawk.formatters.HashedMessageFormatter.HashMessagePair
 
HashLoggerRegistry - Class in logahawk
A map based implementation of LoggerRegistry.
HashLoggerRegistry(Logger) - Constructor for class logahawk.HashLoggerRegistry
 
hashPrefix - Variable in class logahawk.formatters.HashedMessageFormatter
 
hashSuffix - Variable in class logahawk.formatters.HashedMessageFormatter
 
HierarchicalCollectionArgFormatter - Class in logahawk.formatters
Writes each object in the Collections in a way that shows a hierarchy between the objects.
HierarchicalCollectionArgFormatter() - Constructor for class logahawk.formatters.HierarchicalCollectionArgFormatter
 
HierarchicalCollectionArgFormatter(ConcatCollectionArgFormatter, String) - Constructor for class logahawk.formatters.HierarchicalCollectionArgFormatter
 
HierarchicalLoggerRegistry - Class in logahawk
A hierarchical based implementation of LoggerRegistry.
HierarchicalLoggerRegistry(Logger) - Constructor for class logahawk.HierarchicalLoggerRegistry
 

I

id - Variable in class logahawk.listeners.ThreadLogMeta
 
indent(List<String>, int, boolean) - Method in interface logahawk.Indentor
Indents a collection of Strings, replacing the un-indented strings with indented Strings.
indent(List<String>, List<Integer>) - Method in interface logahawk.Indentor
Indents a collection of strings, replacing the un-indented strings with indented Strings of varying indent levels.
indent(List<String>, int, boolean) - Method in class logahawk.SimpleIndentor
 
indent(List<String>, List<Integer>) - Method in class logahawk.SimpleIndentor
 
indentor - Variable in class logahawk.formatters.AbstractArgumentFormatter
 
Indentor - Interface in logahawk
Create the indent String for ArgumentFormatters for use in multi-line results.
info(Object...) - Method in class logahawk.AbstractLogger
 
info(Object...) - Method in interface logahawk.Logger
Records nominal information about various operations.
info(Object...) - Method in class logahawk.MultiLogger
 
info(Object...) - Method in class logahawk.NullLogger
 
items - Variable in class logahawk.AbstractContainer
 

J

JavaLoggerListener - Class in logahawk.listeners
A Listener that uses the Java Logging API to perform the actual logging.
JavaLoggerListener(Logger) - Constructor for class logahawk.listeners.JavaLoggerListener
 
JavaLoggerListener(String) - Constructor for class logahawk.listeners.JavaLoggerListener
 
JavaLoggerListener(String, MessageFormatter) - Constructor for class logahawk.listeners.JavaLoggerListener
 
JavaLoggerListener(Logger, MessageFormatter) - Constructor for class logahawk.listeners.JavaLoggerListener
 
JLogViewer - Class in logahawk.swing
Auto-scrolling text control for displaying log messages.
JLogViewer() - Constructor for class logahawk.swing.JLogViewer
 
JLogViewer(MessageFormatter) - Constructor for class logahawk.swing.JLogViewer
 
JOptionPaneListener - Class in logahawk.swing
Displays a JOptionPane message dialog for each log message.
JOptionPaneListener(JComponent) - Constructor for class logahawk.swing.JOptionPaneListener
 

L

LengthTruncatingListener - Class in logahawk.listeners
Truncates long messages based on length, replacing the truncated text with an ellipsis (or other indicator).
LengthTruncatingListener(Listener) - Constructor for class logahawk.listeners.LengthTruncatingListener
 
LengthTruncatingListener(Listener, int) - Constructor for class logahawk.listeners.LengthTruncatingListener
 
LengthTruncatingListener(Listener, int, String) - Constructor for class logahawk.listeners.LengthTruncatingListener
 
LINE_SEPARATOR - Static variable in interface logahawk.Logger
Line separator character used for formatting multi-line messages.
LineTruncatingListener - Class in logahawk.listeners
Truncates long multi-line messages, replacing the truncated lines with an ellipsis (or other indicator).
LineTruncatingListener(Listener) - Constructor for class logahawk.listeners.LineTruncatingListener
 
LineTruncatingListener(Listener, int) - Constructor for class logahawk.listeners.LineTruncatingListener
 
LineTruncatingListener(Listener, int, String) - Constructor for class logahawk.listeners.LineTruncatingListener
 
listener - Variable in class logahawk.listeners.ConsoleListener
 
Listener - Interface in logahawk.listeners
This describes a class that consumes log messages from the Logger class.
listener - Variable in class logahawk.listeners.ProxyListener
The proxied Listener.
ListenerContainer - Interface in logahawk.listeners
Defines a Listener that contains other Listener instances.
listenerContainer - Variable in class logahawk.SimpleLogger
 
listenerEntries - Variable in class logahawk.listeners.BufferedListener
 
log(Severity, Object...) - Method in class logahawk.AbstractLogger
 
log(Severity, Object...) - Method in class logahawk.BlockingQueueLogger
 
log(Severity, Object...) - Method in class logahawk.BufferedLogger
 
log(Severity, Object...) - Method in class logahawk.FilterLogger
 
log(LogMeta, String) - Method in class logahawk.listeners.AppendableListener
 
log(LogMeta, String) - Method in class logahawk.listeners.BufferedListener
 
log(LogMeta, String) - Method in class logahawk.listeners.ConsoleListener
 
log(LogMeta, String) - Method in class logahawk.listeners.DefaultListenerContainer
Broadcasts the log message.
log(LogMeta, String) - Method in class logahawk.listeners.FailSafeListener
 
log(LogMeta, String) - Method in class logahawk.listeners.FilterListener
 
log(LogMeta, String) - Method in class logahawk.listeners.JavaLoggerListener
 
log(LogMeta, String) - Method in class logahawk.listeners.LengthTruncatingListener
 
log(LogMeta, String) - Method in class logahawk.listeners.LineTruncatingListener
 
log(LogMeta, String) - Method in interface logahawk.listeners.Listener
Logs the provided statement.
log(LogMeta, String) - Method in interface logahawk.listeners.ListenerContainer
This will broadcast the log message to all the Listener objects registered with the this object.
log(LogMeta, String) - Method in class logahawk.listeners.MemoryListener
 
log(LogMeta, String) - Method in class logahawk.listeners.NullListener
 
log(LogMeta, String) - Method in class logahawk.listeners.SafeListener
 
log(LogMeta, String) - Method in class logahawk.listeners.StreamListener
 
log(Severity, Object...) - Method in interface logahawk.Logger
Logs message with a provide Severity.
log(Severity, Object...) - Method in class logahawk.MultiLogger
 
log(Severity, Object...) - Method in class logahawk.NullLogger
 
log(Severity, Object...) - Method in class logahawk.SimpleLogger
 
log(LogMeta, String) - Method in class logahawk.swing.EventDispatchThreadListener
 
log(LogMeta, String) - Method in class logahawk.swing.JLogViewer
Writes the log message to the StyledDocument.
log(LogMeta, String) - Method in class logahawk.swing.JOptionPaneListener
 
logahawk - package logahawk
 
logahawk.formatters - package logahawk.formatters
 
logahawk.listeners - package logahawk.listeners
 
logahawk.swing - package logahawk.swing
 
logahawk.util - package logahawk.util
 
LogEntry - Class in logahawk
Represents a single, un-formatted log entry.
LogEntry(LogMeta, Object[]) - Constructor for class logahawk.LogEntry
 
logger - Variable in class logahawk.listeners.JavaLoggerListener
 
Logger - Interface in logahawk
The core logging class.
logger - Variable in class logahawk.ProxyLogger
 
loggerMap - Variable in class logahawk.HashLoggerRegistry
Map from keys to Logger.
loggerMap - Variable in class logahawk.HierarchicalLoggerRegistry
Map from keys to Logger.
LoggerRegistry - Interface in logahawk
Provides access to Loggers instances based on String keys or Class.getName().
LogListenerEntry - Class in logahawk.listeners
Very similar to the LogEntry, this class contains a formatted message String (from the original Object array, and a LogMeta instance.
LogListenerEntry(LogMeta, String) - Constructor for class logahawk.listeners.LogListenerEntry
 
LogMeta - Interface in logahawk.listeners
Describes the additional data that accompanies a log statement: when it occurred, severity, who caused it, etc.
logMetaProvider - Variable in class logahawk.listeners.FailSafeListener
Used only when FailSafeListener.backup is used.
LogMetaProvider - Interface in logahawk.listeners
Controls the creation LogMeta instances.
logMetaProvider - Variable in class logahawk.SimpleLogger
 

M

MapArgFormatter - Class in logahawk.formatters
Formats a map object to be output as "[index] key -> value".
MapArgFormatter() - Constructor for class logahawk.formatters.MapArgFormatter
 
MapArgFormatter(String) - Constructor for class logahawk.formatters.MapArgFormatter
 
MapArgFormatter(int, String) - Constructor for class logahawk.formatters.MapArgFormatter
 
maxItems - Variable in class logahawk.formatters.AbstractCollectionArgFormatter
Signals the maximum number of items to display.
maxLength - Variable in class logahawk.listeners.LengthTruncatingListener
Maximum length of the text passed to the proxied ProxyListener.listener after truncation.
maxLineLength - Variable in class logahawk.listeners.LineTruncatingListener
Maximum number of lines passed to the proxied ProxyListener.listener after truncation.
MemoryListener - Class in logahawk.listeners
A simple Listener that stores all received logs as LogListenerEntry objects and stores them in memory.
MemoryListener() - Constructor for class logahawk.listeners.MemoryListener
 
messageDigest - Variable in class logahawk.formatters.HashedMessageFormatter
Used to generate the hash.
messageFormatter - Variable in class logahawk.formatters.HashedMessageFormatter
 
MessageFormatter - Interface in logahawk.formatters
Formats a LogMeta and String message into a single string.
messageFormatter - Variable in class logahawk.formatters.StandardExceptionSigFormatter
 
MultiLineCollectionArgFormatter - Class in logahawk.formatters
Writes each object in the Collections on a single line.
MultiLineCollectionArgFormatter() - Constructor for class logahawk.formatters.MultiLineCollectionArgFormatter
 
MultiLineCollectionArgFormatter(int) - Constructor for class logahawk.formatters.MultiLineCollectionArgFormatter
 
multiLineSeparator - Variable in class logahawk.formatters.HierarchicalCollectionArgFormatter
Separator between items in the hierarchy.
MultiLogger - Class in logahawk
A Logger implementation that forwards all logging messages to other Logger instances.
MultiLogger() - Constructor for class logahawk.MultiLogger
 
MultiLogger(Collection<Logger>) - Constructor for class logahawk.MultiLogger
 

N

name - Variable in class logahawk.listeners.ThreadLogMeta
 
newLine - Variable in class logahawk.listeners.ConsoleListener
 
NullArgFormatter - Class in logahawk.formatters
Formats null arguments with the String "null".
NullArgFormatter() - Constructor for class logahawk.formatters.NullArgFormatter
 
NullListener - Class in logahawk.listeners
Null Listener implementation, swallows all messages.
NullListener() - Constructor for class logahawk.listeners.NullListener
 
NullLogger - Class in logahawk
A null object implementation of the Logger interface.
NullLogger() - Constructor for class logahawk.NullLogger
 
NullSigFormatter - Class in logahawk.formatters
This will remove any "null" arguments from the log message.
NullSigFormatter() - Constructor for class logahawk.formatters.NullSigFormatter
 

O

offsetMs - Variable in class logahawk.listeners.DefaultLogMetaProvider
This value will be added to from the current time.
out - Variable in class logahawk.listeners.StreamListener
 

P

panic(Object...) - Method in class logahawk.AbstractLogger
 
panic(Object...) - Method in interface logahawk.Logger
Indicates a system error occurred that likely halts the entire application.
panic(Object...) - Method in class logahawk.MultiLogger
 
panic(Object...) - Method in class logahawk.NullLogger
 
parent - Variable in class logahawk.swing.JOptionPaneListener
Used as the "parentComponent" argument of the call to JOptionPane.showMessageDialog(Component, Object)s.
parentFormatter - Variable in class logahawk.formatters.ParentObjectArgFormatter
Formats the parent objects.
ParentObjectArgFormatter - Class in logahawk.formatters
Formats the object and its parents allowing one to see an object's context in relation to other objects.
ParentObjectArgFormatter(ArgumentFormatter, ArgumentFormatter, CollectionArgFormatter) - Constructor for class logahawk.formatters.ParentObjectArgFormatter
 
pattern - Variable in class logahawk.formatters.FormatterSigFormatter
 
prefix - Variable in class logahawk.formatters.ConcatCollectionArgFormatter
Prefix to be prepended to each item in the output.
previousDigest - Variable in class logahawk.formatters.RollingHashedMessageFormatter
 
PrimitiveArgFormatter - Class in logahawk.formatters
Formats primitive types by using their toString() implementation.
PrimitiveArgFormatter() - Constructor for class logahawk.formatters.PrimitiveArgFormatter
 
priority - Variable in class logahawk.listeners.ThreadLogMeta
 
ProxyListener - Class in logahawk.listeners
Abstract base class creating proxy Listener implementations.
ProxyListener(Listener) - Constructor for class logahawk.listeners.ProxyListener
 
ProxyLogger - Class in logahawk
Abstract base class creating proxy Logger implementations.
ProxyLogger(Logger) - Constructor for class logahawk.ProxyLogger
 
put(String, Logger) - Method in class logahawk.HashLoggerRegistry
Registers a Logger for the provided key.
put(String, Logger) - Method in class logahawk.HierarchicalLoggerRegistry
Registers a Logger for the provided class path.

Q

queue - Variable in class logahawk.BlockingQueueLogger
 

R

remove(String) - Method in class logahawk.HashLoggerRegistry
Remove a Logger registered under the provided key.
remove(String) - Method in class logahawk.HierarchicalLoggerRegistry
Remove a Logger registered under the provided path.
RollingHashedMessageFormatter - Class in logahawk.formatters
Hashes log messages using a rolling hash -- that is the hash of the previous message is part of the hash for the following hash.
RollingHashedMessageFormatter(MessageFormatter, MessageDigest) - Constructor for class logahawk.formatters.RollingHashedMessageFormatter
 
rootLogger - Variable in class logahawk.HashLoggerRegistry
The default Logger used when failing to find a Logger in the loggerMap.
rootLogger - Variable in class logahawk.HierarchicalLoggerRegistry
The default Logger used when failing to find a Logger in the loggerMap.

S

SafeListener - Class in logahawk.listeners
A special Listener will swallow any Exceptions thrown by the Listener.log(LogMeta, String) method.
SafeListener(Listener) - Constructor for class logahawk.listeners.SafeListener
 
separator - Variable in class logahawk.formatters.ConcatCollectionArgFormatter
Separator between items in the output.
separator - Variable in class logahawk.formatters.MapArgFormatter
The separator between the key and value.
setAllEnabled(boolean) - Method in class logahawk.SeverityFilter
Performs SeverityFilter.setEnabled(Severity, boolean) for all Severity values.
setAnonymousValue(String) - Method in class logahawk.formatters.SwingArgFormatter
 
setEnabled(Severity, boolean) - Method in class logahawk.SeverityFilter
 
setHashPrefix(String) - Method in class logahawk.formatters.HashedMessageFormatter
 
setHashSuffix(String) - Method in class logahawk.formatters.HashedMessageFormatter
 
setIndentor(Indentor) - Method in class logahawk.formatters.AbstractArgumentFormatter
 
Severity - Enum in logahawk
Defines all Severity levels for log messages.
SeverityFilter - Class in logahawk
Helper class to filter out log messages based on Severity.
SeverityFilter() - Constructor for class logahawk.SeverityFilter
Default is Severity levels are enabled.
SeverityFilter(boolean) - Constructor for class logahawk.SeverityFilter
 
SeverityFilterListener - Class in logahawk.listeners
This wraps another Logger only filters out log requests whose Severity that are disabled.
SeverityFilterListener(Listener) - Constructor for class logahawk.listeners.SeverityFilterListener
 
SeverityFilterListener(Listener, SeverityFilter) - Constructor for class logahawk.listeners.SeverityFilterListener
 
SeverityFilterListener.SevFilterAdapter - Class in logahawk.listeners
Adapts SeverityFilter to FilterListener.Filter
SeverityFilterListener.SevFilterAdapter(SeverityFilter) - Constructor for class logahawk.listeners.SeverityFilterListener.SevFilterAdapter
 
SeverityFilterLogger - Class in logahawk
This wraps another Logger only filters out log requests whose Severity that are disabled.
SeverityFilterLogger(Logger) - Constructor for class logahawk.SeverityFilterLogger
 
SeverityFilterLogger(Logger, SeverityFilter) - Constructor for class logahawk.SeverityFilterLogger
 
SeverityFilterLogger.SevFilterAdapter - Class in logahawk
Adapts SeverityFilter to FilterLogger.Filter
SeverityFilterLogger.SevFilterAdapter(SeverityFilter) - Constructor for class logahawk.SeverityFilterLogger.SevFilterAdapter
 
SignatureFormatter - Interface in logahawk.formatters
This class can rearrange and format the entirety a log message.
SignatureFormatterContainer - Interface in logahawk.formatters
A container class for SignatureFormatters.
signatureFormatterContainer - Variable in class logahawk.SimpleLogger
 
SimpleIndentor - Class in logahawk
Simple implementation of Indentor that repeats a provided string for the indent.
SimpleIndentor(String) - Constructor for class logahawk.SimpleIndentor
 
SimpleLogger - Class in logahawk
A simple implementation of Logger.
SimpleLogger() - Constructor for class logahawk.SimpleLogger
 
SimpleLogger(LogMetaProvider) - Constructor for class logahawk.SimpleLogger
 
SimpleLogger(ArgumentFormatterContainer, SignatureFormatterContainer, ListenerContainer) - Constructor for class logahawk.SimpleLogger
 
SimpleLogger(LogMetaProvider, ArgumentFormatterContainer, SignatureFormatterContainer, ListenerContainer) - Constructor for class logahawk.SimpleLogger
 
SimpleMessageFormatter - Class in logahawk.formatters
A very simple MessageFormatter that does not output the time of the log message.
SimpleMessageFormatter() - Constructor for class logahawk.formatters.SimpleMessageFormatter
 
singleLineFormatter - Variable in class logahawk.formatters.HierarchicalCollectionArgFormatter
Used to format the message when none of the items in the hierarchy are multi-line.
SPACE_1 - Static variable in class logahawk.SimpleIndentor
A single space (ie: " ") reusable SimpleIndentor instance.
SPACE_2 - Static variable in class logahawk.SimpleIndentor
A double space (ie: " ") reusable SimpleIndentor instance.
SPACE_4 - Static variable in class logahawk.SimpleIndentor
Four spaces (ie: " ") reusable SimpleIndentor instance.
SPACE_8 - Static variable in class logahawk.SimpleIndentor
Eight spaces (ie: " ") reusable SimpleIndentor instance.
splitMessage(List<String>) - Method in class logahawk.formatters.HashedMessageFormatter
Given a list of log messages, split the hash and message and return them inside of HashedMessageFormatter.HashMessagePairs.
StandardExceptionSigFormatter - Class in logahawk.formatters
This will reformat the signature of an message where a String message is followed by an Exception.
StandardExceptionSigFormatter(ArgumentFormatter, ThrowableArgFormatter) - Constructor for class logahawk.formatters.StandardExceptionSigFormatter
 
StandardMessageFormatter - Class in logahawk.formatters
Provides the standard log formatting (default implementatons of LogMeta.
StandardMessageFormatter() - Constructor for class logahawk.formatters.StandardMessageFormatter
Sets StandardMessageFormatter.addTrailingLineBreak to false, and StandardMessageFormatter.dateFormat to DateArgFormatter.STD_DATE_FORMAT
StandardMessageFormatter(boolean) - Constructor for class logahawk.formatters.StandardMessageFormatter
 
StandardMessageFormatter(DateFormat, boolean) - Constructor for class logahawk.formatters.StandardMessageFormatter
 
start() - Method in class logahawk.BlockingQueueLogger
Starts the Thread that will dequeue log messages and pass them to the constructor provided Logger.
STD_DATE_FORMAT - Static variable in class logahawk.formatters.DateArgFormatter
The default date format.
stop() - Method in class logahawk.BlockingQueueLogger
 
StreamListener - Class in logahawk.listeners
A Listener that outputs log messages to the provided stream.
StreamListener(OutputStream) - Constructor for class logahawk.listeners.StreamListener
 
StreamListener(OutputStream, MessageFormatter) - Constructor for class logahawk.listeners.StreamListener
 
StringArgFormatter - Class in logahawk.formatters
This formatter can handle CharSequence and Character objects, including String, StringBuilder, and StringBuffer.
StringArgFormatter() - Constructor for class logahawk.formatters.StringArgFormatter
 
StringBuilderListener - Class in logahawk.listeners
A helper Listener that can write to a StringBuilder.
StringBuilderListener() - Constructor for class logahawk.listeners.StringBuilderListener
 
StringBuilderListener(StringBuilder) - Constructor for class logahawk.listeners.StringBuilderListener
 
StringBuilderListener(MessageFormatter) - Constructor for class logahawk.listeners.StringBuilderListener
 
StringBuilderListener(StringBuilder, MessageFormatter) - Constructor for class logahawk.listeners.StringBuilderListener
 
suffix - Variable in class logahawk.formatters.ConcatCollectionArgFormatter
Prefix to be appended to each item in the output.
suffix - Variable in class logahawk.listeners.LengthTruncatingListener
Suffix added to the text when truncation occurs.
suffix - Variable in class logahawk.listeners.LineTruncatingListener
Suffix added to the text when truncation occurs.
SwingArgFormatter - Class in logahawk.formatters
Formats Swing and AWT components.
SwingArgFormatter() - Constructor for class logahawk.formatters.SwingArgFormatter
 
SwingParentArgFormatter - Class in logahawk.formatters
Uses a SwingArgFormatter to format AWT/Swing objects to show its context within its parent AWT/Swing objects.
SwingParentArgFormatter() - Constructor for class logahawk.formatters.SwingParentArgFormatter
Defaults the CollectionArgFormatter to using "->" for the separator, "[ " and " ]" for the prefix and suffix.
SwingParentArgFormatter(CollectionArgFormatter) - Constructor for class logahawk.formatters.SwingParentArgFormatter
 
SwingParentArgFormatter(ArgumentFormatter, CollectionArgFormatter) - Constructor for class logahawk.formatters.SwingParentArgFormatter
 

T

TAB - Static variable in class logahawk.SimpleIndentor
Tab character (ie: "\t") reusable SimpleIndentor instance.
thread - Variable in class logahawk.BlockingQueueLogger
 
ThreadLogMeta - Class in logahawk.listeners
Adds information about the Thread that executed the log statement.
ThreadLogMeta(Severity) - Constructor for class logahawk.listeners.ThreadLogMeta
Pulls thread information from Thread.currentThread()
ThreadLogMeta(Severity, Date) - Constructor for class logahawk.listeners.ThreadLogMeta
Pulls thread information from Thread.currentThread()
ThreadLogMeta(Severity, Date, Thread) - Constructor for class logahawk.listeners.ThreadLogMeta
 
ThreadLogMetaProvider - Class in logahawk.listeners
Default ThreadLogMeta implementation.
ThreadLogMetaProvider() - Constructor for class logahawk.listeners.ThreadLogMetaProvider
 
ThreadLogMetaProvider(long) - Constructor for class logahawk.listeners.ThreadLogMetaProvider
 
ThreadMessageFormatter - Class in logahawk.formatters
Provides the log formatting of ThreadLogMeta, very similar to StandardMessageFormatter.
ThreadMessageFormatter() - Constructor for class logahawk.formatters.ThreadMessageFormatter
Sets ThreadMessageFormatter.addTrailingLineBreak to false, and ThreadMessageFormatter.dateFormat to DateArgFormatter.STD_DATE_FORMAT
ThreadMessageFormatter(DateFormat, boolean) - Constructor for class logahawk.formatters.ThreadMessageFormatter
 
threadRun() - Method in class logahawk.BlockingQueueLogger
 
ThrowableArgFormatter - Class in logahawk.formatters
This formatter can handle "Throwable" objects -- namely Exceptions.
ThrowableArgFormatter() - Constructor for class logahawk.formatters.ThrowableArgFormatter
 
ThrowableArgFormatter.ThrowablePlusMessage - Class in logahawk.formatters
This is a specialized class that contains an Throwable and a user String message.
ThrowableArgFormatter.ThrowablePlusMessage(Object, Throwable) - Constructor for class logahawk.formatters.ThrowableArgFormatter.ThrowablePlusMessage
 
throwableFormatter - Variable in class logahawk.formatters.StandardExceptionSigFormatter
 
toString() - Method in enum logahawk.Severity
 

U

unpackDoubleDimensionArray(Object, List<Object>, Collection<ArgumentFormatter>, int, Character) - Method in class logahawk.formatters.ArrayArgFormatter
Double-dimension arrays are fairly common in 2D application.s
unpackQuadDimensionArray(Object, List<Object>, Collection<ArgumentFormatter>, int, Character) - Method in class logahawk.formatters.ArrayArgFormatter
Four dimensions is common for programs that use quaternions.
unpackSingleDimensionArray(Object, List<Object>, Collection<ArgumentFormatter>, int, Character) - Method in class logahawk.formatters.ArrayArgFormatter
 
unpackTripleDimensionArray(Object, List<Object>, Collection<ArgumentFormatter>, int, Character) - Method in class logahawk.formatters.ArrayArgFormatter
Triple-dimension arrays are often used for Vectors and 3-dimensional matricies
UriArgFormatter - Class in logahawk.formatters
Formats URI instances.
UriArgFormatter() - Constructor for class logahawk.formatters.UriArgFormatter
 
UrlArgFormatter - Class in logahawk.formatters
Formats URL instances.
UrlArgFormatter() - Constructor for class logahawk.formatters.UrlArgFormatter
 
Utils - Class in logahawk
Provides various utility functions for the classes in this package.
UuidArgFormatter - Class in logahawk.formatters
Formats UUID instances;
UuidArgFormatter() - Constructor for class logahawk.formatters.UuidArgFormatter
 

V

valueOf(String) - Static method in enum logahawk.Severity
Returns the enum constant of this type with the specified name.
values() - Static method in enum logahawk.Severity
Returns an array containing the constants of this enum type, in the order they are declared.
verify(List<String>) - Method in class logahawk.formatters.HashedMessageFormatter
Verifies that the hash contained within the messages is the correct hash.
verify(List<String>) - Method in class logahawk.formatters.RollingHashedMessageFormatter
 

W

warn(Object...) - Method in class logahawk.AbstractLogger
 
warn(Object...) - Method in interface logahawk.Logger
Indicates that something went wrong but the overarching process will continue.
warn(Object...) - Method in class logahawk.MultiLogger
 
warn(Object...) - Method in class logahawk.NullLogger
 
WriterListener - Class in logahawk.listeners
A helper Listener that can write to a Writer.
WriterListener(Writer) - Constructor for class logahawk.listeners.WriterListener
 
WriterListener(Writer, MessageFormatter) - Constructor for class logahawk.listeners.WriterListener
 

X

XmlNodeArgFormatter - Class in logahawk.formatters
Formats Nodes as XML strings.
XmlNodeArgFormatter() - Constructor for class logahawk.formatters.XmlNodeArgFormatter
 
XmlNodeParentArgFormatter - Class in logahawk.formatters
Uses a XmlNodeArgFormatter to format XML Nodes to show their full path.
XmlNodeParentArgFormatter() - Constructor for class logahawk.formatters.XmlNodeParentArgFormatter
Defaults the CollectionArgFormatter to using "" for the separator, prefix, and suffix.
XmlNodeParentArgFormatter(CollectionArgFormatter) - Constructor for class logahawk.formatters.XmlNodeParentArgFormatter
 
XmlNodeParentArgFormatter(ArgumentFormatter, CollectionArgFormatter) - Constructor for class logahawk.formatters.XmlNodeParentArgFormatter
 

A B C D E F G H I J L M N O P Q R S T U V W X