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

A

accept(MessageMetric<T, S>) - Method in interface com.github.triceo.splitlog.api.MessageMetricCondition
Evaluate metric against a user-provided condition.
accept(Message, MessageDeliveryStatus, S) - Method in interface com.github.triceo.splitlog.api.MidDeliveryMessageCondition
Evaluate a message against a user-provided condition.
accept(Message) - Method in interface com.github.triceo.splitlog.api.SimpleMessageCondition
Evaluate a message against a user-provided condition.
accept(Message) - Method in class com.github.triceo.splitlog.conditions.AllFollowerMessagesAcceptingCondition
 
accept(Message, MessageDeliveryStatus, Follower) - Method in class com.github.triceo.splitlog.conditions.AllFollowerMessagesAcceptingCondition
 
accept(Message) - Method in class com.github.triceo.splitlog.conditions.AllLogWatchMessagesAcceptingCondition
 
accept(Message, MessageDeliveryStatus, LogWatch) - Method in class com.github.triceo.splitlog.conditions.AllLogWatchMessagesAcceptingCondition
 
accept(Message) - Method in class com.github.triceo.splitlog.conditions.SplitlogMessagesRejectingCondition
 
AllFollowerMessagesAcceptingCondition - Class in com.github.triceo.splitlog.conditions
This will accept any message.
AllLogWatchMessagesAcceptingCondition - Class in com.github.triceo.splitlog.conditions
This will accept any message.

B

begin() - Method in interface org.apache.commons.io.input.fork.TailerListener
The tailer will call this method when it's ready to start reading the file.
build() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Build the log watch with previously defined properties, or defaults where not overriden.
build() - Method in class com.github.triceo.splitlog.DefaultLogWatchBuilder
 
buildFollowing() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Build the log watch with previously defined properties, or defaults where not overriden, and immediately start listening for Messages.
buildFollowing() - Method in class com.github.triceo.splitlog.DefaultLogWatchBuilder
 
buildFollowingWith(TailSplitter) - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Build the log watch with previously defined properties, or defaults where not overriden, and immediately start listening for Messages
buildFollowingWith(TailSplitter) - Method in class com.github.triceo.splitlog.DefaultLogWatchBuilder
 
buildWith(TailSplitter) - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Build the log watch with previously defined properties, or defaults where not overriden.
buildWith(TailSplitter) - Method in class com.github.triceo.splitlog.DefaultLogWatchBuilder
 

C

closingAfterReading() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Change the default behavior of the future log watch to close the watched file after each reading.
com.github.triceo.splitlog - package com.github.triceo.splitlog
 
com.github.triceo.splitlog.api - package com.github.triceo.splitlog.api
 
com.github.triceo.splitlog.conditions - package com.github.triceo.splitlog.conditions
 
com.github.triceo.splitlog.expectations - package com.github.triceo.splitlog.expectations
 
com.github.triceo.splitlog.formatters - package com.github.triceo.splitlog.formatters
 
com.github.triceo.splitlog.logging - package com.github.triceo.splitlog.logging
 
com.github.triceo.splitlog.ordering - package com.github.triceo.splitlog.ordering
 
com.github.triceo.splitlog.splitters - package com.github.triceo.splitlog.splitters
 
com.github.triceo.splitlog.splitters.exceptions - package com.github.triceo.splitlog.splitters.exceptions
 
com.github.triceo.splitlog.util - package com.github.triceo.splitlog.util
 
commit() - Method in interface org.apache.commons.io.input.fork.TailerListener
The tailer will call this method when it's gone to sleep for the delay between reads.
CommonFollower<P extends MessageProducer<P>,C extends MessageProducer<C>> - Interface in com.github.triceo.splitlog.api
Follower's primary function is to allow users to work with their portion of the tailed log file.
compare(Message, Message) - Method in class com.github.triceo.splitlog.ordering.OriginalOrderingMessageComprator
 
compare(Message, Message) - Method in class com.github.triceo.splitlog.ordering.TimestampOrderingMessageComparator
 
countConsumers() - Method in interface com.github.triceo.splitlog.api.MessageProducer
countMetrics() - Method in interface com.github.triceo.splitlog.api.MessageProducer
create(File, Charset, TailerListener, long, boolean, boolean, int) - Static method in class org.apache.commons.io.input.fork.Tailer
Creates and starts a Tailer for the given file.
create(File, TailerListener) - Static method in class org.apache.commons.io.input.fork.Tailer
Creates and starts a Tailer for the given file, starting at the beginning of the file with the default delay of 1.0s
create(File, TailerListener, long) - Static method in class org.apache.commons.io.input.fork.Tailer
Creates and starts a Tailer for the given file, starting at the beginning of the file
create(File, TailerListener, long, boolean) - Static method in class org.apache.commons.io.input.fork.Tailer
Creates and starts a Tailer for the given file with default buffer size.
create(File, TailerListener, long, boolean, boolean) - Static method in class org.apache.commons.io.input.fork.Tailer
Creates and starts a Tailer for the given file with default buffer size.
create(File, TailerListener, long, boolean, boolean, int) - Static method in class org.apache.commons.io.input.fork.Tailer
Creates and starts a Tailer for the given file.
create(File, TailerListener, long, boolean, int) - Static method in class org.apache.commons.io.input.fork.Tailer
Creates and starts a Tailer for the given file.

D

DEFAULT_DELAY_BETWEEN_READS_IN_MILLISECONDS - Static variable in class com.github.triceo.splitlog.api.LogWatchBuilder
 
DEFAULT_DELAY_BETWEEN_SWEEPS_IN_MILLISECONDS - Static variable in class com.github.triceo.splitlog.api.LogWatchBuilder
 
DEFAULT_READ_BUFFER_SIZE_IN_BYTES - Static variable in class com.github.triceo.splitlog.api.LogWatchBuilder
 
DefaultExceptionDescriptor - Class in com.github.triceo.splitlog.splitters.exceptions
A class that describes an exception instance.
DefaultLogWatchBuilder - Class in com.github.triceo.splitlog
Prepares an instance of LogWatch.
DefaultLogWatchBuilder() - Constructor for class com.github.triceo.splitlog.DefaultLogWatchBuilder
 
destroy() - Method in interface org.apache.commons.io.input.fork.TailerListener
The tailer will call this method as the last operation before being terminated.
determineDate(List<String>) - Method in interface com.github.triceo.splitlog.api.TailSplitter
Read the message and find the date when the message was submitted.
determineDate(List<String>) - Method in class com.github.triceo.splitlog.splitters.JBossServerLogTailSplitter
 
determineDate(List<String>) - Method in class com.github.triceo.splitlog.splitters.SimpleTailSplitter
 
determineException(List<String>) - Method in interface com.github.triceo.splitlog.api.TailSplitter
Read the message and try to identify an exception stack trace within.
determineLogger(List<String>) - Method in interface com.github.triceo.splitlog.api.TailSplitter
Messages in the log can contain information as to what logged them.
determineLogger(List<String>) - Method in class com.github.triceo.splitlog.splitters.JBossServerLogTailSplitter
 
determineLogger(List<String>) - Method in class com.github.triceo.splitlog.splitters.SimpleTailSplitter
 
determineSeverity(List<String>) - Method in interface com.github.triceo.splitlog.api.TailSplitter
Read the message and try to find its severity.
determineSeverity(List<String>) - Method in class com.github.triceo.splitlog.splitters.JBossServerLogTailSplitter
 
determineSeverity(List<String>) - Method in class com.github.triceo.splitlog.splitters.SimpleTailSplitter
 
determineType(List<String>) - Method in interface com.github.triceo.splitlog.api.TailSplitter
Read the message and try to find its type.
determineType(List<String>) - Method in class com.github.triceo.splitlog.splitters.JBossServerLogTailSplitter
 
determineType(List<String>) - Method in class com.github.triceo.splitlog.splitters.SimpleTailSplitter
 
doNotStart() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Do not run LogWatch.start() on the new instance.

E

enableLogging() - Static method in class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
Force Splitlog's internal logging to be enabled.
equals(Object) - Method in class com.github.triceo.splitlog.splitters.exceptions.DefaultExceptionDescriptor
 
ExceptionDescriptor - Interface in com.github.triceo.splitlog.api
Describes an exception instance.
ExceptionParseException - Exception in com.github.triceo.splitlog.splitters.exceptions
 
ExceptionParseException(String, String) - Constructor for exception com.github.triceo.splitlog.splitters.exceptions.ExceptionParseException
 
execute(Message, S) - Method in interface com.github.triceo.splitlog.api.MessageAction
Execute the action, typically on background.

F

fileNotFound() - Method in interface org.apache.commons.io.input.fork.TailerListener
This method is called if the tailed file is not found.
fileRotated() - Method in interface org.apache.commons.io.input.fork.TailerListener
Called if a file rotation is detected.
Follower - Interface in com.github.triceo.splitlog.api
On top of the CommonFollower's functions, this allows for merging followers.
format(Message, File) - Method in interface com.github.triceo.splitlog.api.MessageFormatter
Provides a textual representation of a message.
format(Message, File) - Method in class com.github.triceo.splitlog.formatters.NoopMessageFormatter
 
format(Message, File) - Method in class com.github.triceo.splitlog.formatters.UnifyingMessageFormatter
 

G

getCapacityLimit() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Get the capacity of the future log watch.
getCause() - Method in interface com.github.triceo.splitlog.api.ExceptionDescriptor
Returns the cause for this exception.
getCause() - Method in class com.github.triceo.splitlog.splitters.exceptions.DefaultExceptionDescriptor
 
getDate() - Method in interface com.github.triceo.splitlog.api.Message
Get the date that this message was logged on.
getDefault() - Static method in class com.github.triceo.splitlog.api.LogWatchBuilder
Used to construct a LogWatch for a particular log file.
getDelay() - Method in class org.apache.commons.io.input.fork.Tailer
Return the delay in milliseconds.
getDelayBetweenReads() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Get the delay between attempts to read from the watched file.
getDelayBetweenSweeps() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Get the delay between attempts to sweep unreachable messages from memory.
getExceptionClass() - Method in interface com.github.triceo.splitlog.api.ExceptionDescriptor
Best-effort attempt to provide an exception type for ExceptionDescriptor.getExceptionClassName().
getExceptionClass() - Method in class com.github.triceo.splitlog.splitters.exceptions.DefaultExceptionDescriptor
 
getExceptionClassName() - Method in interface com.github.triceo.splitlog.api.ExceptionDescriptor
 
getExceptionClassName() - Method in class com.github.triceo.splitlog.splitters.exceptions.DefaultExceptionDescriptor
 
getExceptionDescriptor() - Method in interface com.github.triceo.splitlog.api.Message
Get data about exception included in this message.
getFile() - Method in class org.apache.commons.io.input.fork.Tailer
Return the file.
getFileToWatch() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Get the file that the log watch will be watching.
getFollowed() - Method in interface com.github.triceo.splitlog.api.Follower
Retrieve the log watch that is being followed.
getGateCondition() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
The condition that will be used for accepting a Message into LogWatch.
getLines() - Method in interface com.github.triceo.splitlog.api.Message
Get each line of the message.
getLinesWithoutMetadata() - Method in interface com.github.triceo.splitlog.api.Message
Get each line of the message, with metadata stripped out.
getLogger() - Method in interface com.github.triceo.splitlog.api.Message
Will return the name of the logger that was used to write the log message.
getLogger(Class<?>) - Static method in class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
 
getLogger(String) - Static method in class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
 
getMeasure() - Method in interface com.github.triceo.splitlog.api.MessageMetric
Retrieves the measure that is used to produce the value of this metric.
getMerged() - Method in interface com.github.triceo.splitlog.api.MergingFollower
Retrieve followers that are currently part of this merge.
getMessage() - Method in interface com.github.triceo.splitlog.api.ExceptionDescriptor
 
getMessage() - Method in class com.github.triceo.splitlog.splitters.exceptions.DefaultExceptionDescriptor
 
getMessageCount() - Method in interface com.github.triceo.splitlog.api.MessageMetric
Retrieve the number of times that the metric has been invoked on a Message.
getMessageCount(Message) - Method in interface com.github.triceo.splitlog.api.MessageMetric
Retrieve the number of times that the metric has been invoked on a Message, at the time immediately after a given message has been processed.
getMessages() - Method in interface com.github.triceo.splitlog.api.CommonFollower
Retrieve all MessageDeliveryStatus.ACCEPTED messages that this follower has been notified of, and tags.
getMessages(MessageComparator) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Retrieve all MessageDeliveryStatus.ACCEPTED messages that this follower has been notified of, and tags, in a given order.
getMessages(SimpleMessageCondition) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Retrieve all MessageDeliveryStatus.ACCEPTED messages that this follower has been notified of, if a certain condition holds true for them, and tags.
getMessages(SimpleMessageCondition, MessageComparator) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Retrieve all MessageDeliveryStatus.ACCEPTED messages that this follower has been notified of, if a certain condition holds true for them, and tags.
getMetric(String) - Method in interface com.github.triceo.splitlog.api.MessageProducer
Retrieve the metric for a particular ID.
getMetricId(MessageMetric<? extends Number, P>) - Method in interface com.github.triceo.splitlog.api.MessageProducer
Retrieve the ID for a particular measure.
getPreviousMessage() - Method in interface com.github.triceo.splitlog.api.Message
Return a message that preceded this one in the same log stream.
getReadingBufferSize() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Get the buffer size for the log watch.
getSeverity() - Method in interface com.github.triceo.splitlog.api.Message
 
getSource() - Method in interface com.github.triceo.splitlog.api.MessageMetric
Retrieve the instance that is responsible for notifying this metric of new Messages-
getStackTrace() - Method in interface com.github.triceo.splitlog.api.ExceptionDescriptor
This method will create a brand new unmodifiable list every time it is called.
getStackTrace() - Method in class com.github.triceo.splitlog.splitters.exceptions.DefaultExceptionDescriptor
 
getStorageCondition() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
The condition that will be used for storing a Message within LogWatch.
getType() - Method in interface com.github.triceo.splitlog.api.Message
 
getUniqueId() - Method in interface com.github.triceo.splitlog.api.Message
Unique ID of the message, that can be used to compare messages in the order of their arrival into this tool.
getValue() - Method in interface com.github.triceo.splitlog.api.MessageMetric
Retrieve the value of this metric, which is a sum of the return values of all of this metric's MessageMeasure invocations.
getValue(Message) - Method in interface com.github.triceo.splitlog.api.MessageMetric
Retrieve the value of this metric, which is a sum of the return values of all of this metric's MessageMeasure invocations, at the time immediately after a given message has been processed.
getWatchedFile() - Method in interface com.github.triceo.splitlog.api.LogWatch
The file that is being tracked by this class.

H

handle(Exception) - Method in interface org.apache.commons.io.input.fork.TailerListener
Handles an Exception .
handle(String) - Method in interface org.apache.commons.io.input.fork.TailerListener
Handles a line from a Tailer.
hasException() - Method in interface com.github.triceo.splitlog.api.Message
 
hashCode() - Method in class com.github.triceo.splitlog.splitters.exceptions.DefaultExceptionDescriptor
 

I

ignoringPreexistingContent() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Change the default behavior of the future log watch so that the existing contents of the file is ignored and only the future additions to the file are reported.
init(Tailer) - Method in interface org.apache.commons.io.input.fork.TailerListener
The tailer will call this method during construction, giving the listener a method of stopping the tailer.
initialValue() - Method in interface com.github.triceo.splitlog.api.MessageMeasure
The default value for the resulting MessageMetric.
INSTANCE - Static variable in class com.github.triceo.splitlog.conditions.AllFollowerMessagesAcceptingCondition
 
INSTANCE - Static variable in class com.github.triceo.splitlog.conditions.AllLogWatchMessagesAcceptingCondition
 
INSTANCE - Static variable in class com.github.triceo.splitlog.conditions.SplitlogMessagesRejectingCondition
 
INSTANCE - Static variable in class com.github.triceo.splitlog.formatters.NoopMessageFormatter
 
INSTANCE - Static variable in class com.github.triceo.splitlog.formatters.UnifyingMessageFormatter
 
INSTANCE - Static variable in class com.github.triceo.splitlog.ordering.OriginalOrderingMessageComprator
 
INSTANCE - Static variable in class com.github.triceo.splitlog.ordering.TimestampOrderingMessageComparator
 
isClosingBetweenReads() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
 
isConsuming(MessageConsumer<P>) - Method in interface com.github.triceo.splitlog.api.MessageProducer
Whether or not the particular message consumer is being notified of new messages.
isFollowedBy(Follower) - Method in interface com.github.triceo.splitlog.api.LogWatch
Whether or not LogWatch.stopFollowing(Follower) has been called for a given follower.
isHandingDown(MessageMeasure<? extends Number, Follower>) - Method in interface com.github.triceo.splitlog.api.LogWatch
Whether or not particular MessageMeasure is being automatically handed down to new Followers.
isHandingDown(String) - Method in interface com.github.triceo.splitlog.api.LogWatch
Whether or not particular MessageMeasure is being automatically handed down to new Followers.
isLoggingEnabled() - Static method in class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
Whether or not Splitlog internals will log if logging is requested at this time.
isMeasuring(MessageMetric<? extends Number, P>) - Method in interface com.github.triceo.splitlog.api.MessageProducer
Whether or not particular MessageMetric is active.
isMeasuring(String) - Method in interface com.github.triceo.splitlog.api.MessageProducer
Whether or not particular MessageMetric is active.
isReadingFromBeginning() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
 
isRootCause() - Method in interface com.github.triceo.splitlog.api.ExceptionDescriptor
 
isRootCause() - Method in class com.github.triceo.splitlog.splitters.exceptions.DefaultExceptionDescriptor
 
isStarted() - Method in interface com.github.triceo.splitlog.api.LogWatch
Whether or not LogWatch.start() has been called.
isStartingLine(String) - Method in interface com.github.triceo.splitlog.api.TailSplitter
Whether or not this particular line from the log starts a new log message.
isStartingLine(String) - Method in class com.github.triceo.splitlog.splitters.JBossServerLogTailSplitter
 
isStartingLine(String) - Method in class com.github.triceo.splitlog.splitters.SimpleTailSplitter
 
isStopped() - Method in interface com.github.triceo.splitlog.api.LogWatch
Whether or not LogWatch.stop() has been called.
isStopped() - Method in interface com.github.triceo.splitlog.api.MessageConsumer
Whether or not MessageConsumer.stop() has been called.

J

JBossServerLogTailSplitter - Class in com.github.triceo.splitlog.splitters
Provides a tail splitter capable of understanding the JBossAS server.log format, specifically the severities and message types.
JBossServerLogTailSplitter() - Constructor for class com.github.triceo.splitlog.splitters.JBossServerLogTailSplitter
 

L

limitCapacityTo(int) - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Limit capacity of the log watch to a given amount of messages.
LINE_SEPARATOR - Static variable in interface com.github.triceo.splitlog.api.MessageFormatter
Platform-specific line separator.
LOGGING_PROPERTY_NAME - Static variable in class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
 
LogUtil - Class in com.github.triceo.splitlog.util
 
LogUtil() - Constructor for class com.github.triceo.splitlog.util.LogUtil
 
LogUtil.Level - Enum in com.github.triceo.splitlog.util
 
LogWatch - Interface in com.github.triceo.splitlog.api
The primary point of interaction with this tool.
LogWatchBuilder - Class in com.github.triceo.splitlog.api
Prepares an instance of LogWatch that will automatically LogWatch.start().
LogWatchBuilder() - Constructor for class com.github.triceo.splitlog.api.LogWatchBuilder
 

M

mergeWith(Follower) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Merge this CommonFollower with another.
mergeWith(MergingFollower) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Merge this CommonFollower with another.
MergingFollower - Interface in com.github.triceo.splitlog.api
Follower that is capable of merging multiple Followers.
Message - Interface in com.github.triceo.splitlog.api
A set of lines from the watched file, that is likely to constitute a single log message.
MessageAction<S extends MessageProducer<S>> - Interface in com.github.triceo.splitlog.api
Allows to specify an action to be executed on top of a particular Message.
MessageComparator - Interface in com.github.triceo.splitlog.api
Will be used to compare Message instances to determine their order.
MessageConsumer<P extends MessageProducer<P>> - Interface in com.github.triceo.splitlog.api
Implementors of this interface state that they are interested in knowing when a new Message appears in the log.
MessageDeliveryStatus - Enum in com.github.triceo.splitlog.api
Various states that a Message can be in while within the system.
MessageFormatter - Interface in com.github.triceo.splitlog.api
Converts a message to a textual representation.
MessageListener<P extends MessageProducer<P>> - Interface in com.github.triceo.splitlog.api
Implementors of this interface state that they are interested in knowing when a new Message appears in the log.
MessageMeasure<T extends Number,S extends MessageProducer<S>> - Interface in com.github.triceo.splitlog.api
Used by MessageMetric to determine how much a Message is worth.
MessageMetric<T extends Number,S extends MessageProducer<S>> - Interface in com.github.triceo.splitlog.api
Allows users to track various statistics on classes implementing MessageProducer.
MessageMetricCondition<T extends Number,S extends MessageProducer<S>> - Interface in com.github.triceo.splitlog.api
Allows users to filter based on their own metric criteria.
MessageProducer<P extends MessageProducer<P>> - Interface in com.github.triceo.splitlog.api
Implementors of this interface provide users with means of measuring various properties of Messages that pass through them.
messageReceived(Message, MessageDeliveryStatus, P) - Method in interface com.github.triceo.splitlog.api.MessageListener
Notify the code of a new message becoming available in the log.
MessageSeverity - Enum in com.github.triceo.splitlog.api
How important the log file says the message is.
MessageType - Enum in com.github.triceo.splitlog.api
Type of message from the log.
MetricExpectationManager<T extends Number,P extends MessageProducer<P>> - Class in com.github.triceo.splitlog.expectations
 
MetricExpectationManager(MessageMetric<T, P>) - Constructor for class com.github.triceo.splitlog.expectations.MetricExpectationManager
 
MidDeliveryExpectationManager<P extends MessageProducer<P>> - Class in com.github.triceo.splitlog.expectations
 
MidDeliveryExpectationManager() - Constructor for class com.github.triceo.splitlog.expectations.MidDeliveryExpectationManager
 
MidDeliveryMessageCondition<S extends MessageProducer<S>> - Interface in com.github.triceo.splitlog.api
Allows users to filter messages based on their own criteria.

N

newMessage(Logger, LogUtil.Level, String, Message, MessageDeliveryStatus, MessageProducer<?>, MessageListener<?>) - Static method in class com.github.triceo.splitlog.util.LogUtil
 
newMessage(Logger, LogUtil.Level, String, Message, MessageDeliveryStatus, MessageProducer<?>, MessageListener<?>, Object...) - Static method in class com.github.triceo.splitlog.util.LogUtil
 
newThread(Runnable) - Method in class com.github.triceo.splitlog.util.SplitlogThreadFactory
 
NoopMessageFormatter - Class in com.github.triceo.splitlog.formatters
This formatter will output the message in a format as similar to the original as possible.
notify(Logger, LogUtil.Level, String, Object...) - Static method in class com.github.triceo.splitlog.util.LogUtil
 

O

OFF_STATE - Static variable in class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
 
ON_STATE - Static variable in class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
 
org.apache.commons.io.input.fork - package org.apache.commons.io.input.fork
 
OriginalOrderingMessageComprator - Class in com.github.triceo.splitlog.ordering
Will sort messages in the order of increasing Message.getUniqueId().

P

parseStackTrace(Collection<String>) - Static method in class com.github.triceo.splitlog.splitters.exceptions.DefaultExceptionDescriptor
Take a chunk of log and try to parse an exception out of it.

R

remove(Follower) - Method in interface com.github.triceo.splitlog.api.MergingFollower
Will return an instance whose MergingFollower.getMerged() does not contain the given follower.
resetLoggingToDefaultState() - Static method in class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
Whether or not Splitlog's internal messages are logged will depend on the value of SplitlogLoggerFactory.LOGGING_PROPERTY_NAME system property at the time when logging of the message is requested.
run() - Method in class com.github.triceo.splitlog.util.SplitlogTailer
 
run() - Method in class org.apache.commons.io.input.fork.Tailer
Follows changes in the file, calling the TailerListener's handle method for each new line.

S

silenceLogging() - Static method in class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
Force Splitlog's internal logging to be disabled.
SimpleMessageCondition - Interface in com.github.triceo.splitlog.api
Allows users to either accept or reject a message in various situations.
SimpleTailSplitter - Class in com.github.triceo.splitlog.splitters
 
SimpleTailSplitter() - Constructor for class com.github.triceo.splitlog.splitters.SimpleTailSplitter
 
SplitlogLoggerFactory - Class in com.github.triceo.splitlog.logging
When Splitlog is running inside an app server such as JBoss, its internal logging may be caught up in the server log.
SplitlogLoggerFactory() - Constructor for class com.github.triceo.splitlog.logging.SplitlogLoggerFactory
 
SplitlogMessagesRejectingCondition - Class in com.github.triceo.splitlog.conditions
This will accept any Message whose Message.getLogger() doesn't start with com.github.triceo.splitlog.
SplitlogTailer - Class in com.github.triceo.splitlog.util
Extension of the Apache tailer to allow us to monitor when it's actually started tailing.
SplitlogTailer(File, TailerListener, long, boolean, boolean, int) - Constructor for class com.github.triceo.splitlog.util.SplitlogTailer
 
SplitlogThreadFactory - Class in com.github.triceo.splitlog.util
 
SplitlogThreadFactory(String) - Constructor for class com.github.triceo.splitlog.util.SplitlogThreadFactory
 
start() - Method in interface com.github.triceo.splitlog.api.LogWatch
Start tailing the log file.
startConsuming(MessageListener<P>) - Method in interface com.github.triceo.splitlog.api.MessageProducer
Register a listener to be notified of new messages in this producer.
startFollowing() - Method in interface com.github.triceo.splitlog.api.LogWatch
Begin watching for new messages from this point in time.
startHandingDown(MessageMeasure<? extends Number, Follower>, String) - Method in interface com.github.triceo.splitlog.api.LogWatch
Every new Follower from now on will immediately receive a new MessageMetric instance with a given ID that is using the given measure instance.
startMeasuring(MessageMeasure<T, P>, String) - Method in interface com.github.triceo.splitlog.api.MessageProducer
Request that a message property be tracked from now on.
stop() - Method in interface com.github.triceo.splitlog.api.LogWatch
Stop all followers from following and free resources.
stop() - Method in interface com.github.triceo.splitlog.api.MessageConsumer
This consumer will no longer receive any messages.
stop() - Method in class org.apache.commons.io.input.fork.Tailer
Allows the tailer to complete its current loop and return.
stopConsuming(MessageConsumer<P>) - Method in interface com.github.triceo.splitlog.api.MessageProducer
Tell a consumer to no longer listen to new messages in this producer.
stopFollowing(Follower) - Method in interface com.github.triceo.splitlog.api.LogWatch
Stop particular follower from following.
stopHandingDown(MessageMeasure<? extends Number, Follower>) - Method in interface com.github.triceo.splitlog.api.LogWatch
stopHandingDown(String) - Method in interface com.github.triceo.splitlog.api.LogWatch
stopMeasuring(MessageMetric<? extends Number, P>) - Method in interface com.github.triceo.splitlog.api.MessageProducer
Will stop the metric from being notified of new Messages.
stopMeasuring(String) - Method in interface com.github.triceo.splitlog.api.MessageProducer
Will stop the metric from being notified of new Messages.
stripOfMetadata(String) - Method in interface com.github.triceo.splitlog.api.TailSplitter
Take a line from the log and attempt to strip it of metadata, such as severity, type and date.
stripOfMetadata(String) - Method in class com.github.triceo.splitlog.splitters.JBossServerLogTailSplitter
 
stripOfMetadata(String) - Method in class com.github.triceo.splitlog.splitters.SimpleTailSplitter
 

T

tag(String) - Method in interface com.github.triceo.splitlog.api.Follower
Mark the current location in the tail by a custom message.
Tailer - Class in org.apache.commons.io.input.fork
Simple implementation of the unix "tail -f" functionality.
Tailer(File, Charset, TailerListener, long, boolean, boolean, int) - Constructor for class org.apache.commons.io.input.fork.Tailer
Creates a Tailer for the given file, with a specified buffer size.
Tailer(File, TailerListener) - Constructor for class org.apache.commons.io.input.fork.Tailer
Creates a Tailer for the given file, starting from the beginning, with the default delay of 1.0s.
Tailer(File, TailerListener, long) - Constructor for class org.apache.commons.io.input.fork.Tailer
Creates a Tailer for the given file, starting from the beginning.
Tailer(File, TailerListener, long, boolean) - Constructor for class org.apache.commons.io.input.fork.Tailer
Creates a Tailer for the given file, with a delay other than the default 1.0s.
Tailer(File, TailerListener, long, boolean, boolean) - Constructor for class org.apache.commons.io.input.fork.Tailer
Creates a Tailer for the given file, with a delay other than the default 1.0s.
Tailer(File, TailerListener, long, boolean, boolean, int) - Constructor for class org.apache.commons.io.input.fork.Tailer
Creates a Tailer for the given file, with a specified buffer size.
Tailer(File, TailerListener, long, boolean, int) - Constructor for class org.apache.commons.io.input.fork.Tailer
Creates a Tailer for the given file, with a specified buffer size.
TailerListener - Interface in org.apache.commons.io.input.fork
Listener for events from a Tailer.
TailSplitter - Interface in com.github.triceo.splitlog.api
The purpose of classes implementing this interface is to interpret the log files.
TimestampOrderingMessageComparator - Class in com.github.triceo.splitlog.ordering
Will sort messages in the order of increasing Message.getDate().
toString() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
 
toString() - Method in class com.github.triceo.splitlog.splitters.exceptions.DefaultExceptionDescriptor
 

U

UnifyingMessageFormatter - Class in com.github.triceo.splitlog.formatters
This formatter will output the message in a format specific to Splitlog.
update(MessageMetric<T, S>, Message, MessageDeliveryStatus, S) - Method in interface com.github.triceo.splitlog.api.MessageMeasure
Update metric after the arrival of another message.

V

valueOf(String) - Static method in enum com.github.triceo.splitlog.api.MessageDeliveryStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.triceo.splitlog.api.MessageSeverity
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.triceo.splitlog.api.MessageType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.triceo.splitlog.util.LogUtil.Level
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.triceo.splitlog.api.MessageDeliveryStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.triceo.splitlog.api.MessageSeverity
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.triceo.splitlog.api.MessageType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.triceo.splitlog.util.LogUtil.Level
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitUntilStarted() - Method in class org.apache.commons.io.input.fork.Tailer
 
watchedFile(File) - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Set the file that the future LogWatch will be tailing.
willBeStarted() - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
 
withDelayBetweenReads(int, TimeUnit) - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Specify the delay between attempts to read the file.
withDelayBetweenSweeps(int, TimeUnit) - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Specify the delay between attempts to sweep the log watch from unreachable messages.
withGateCondition(SimpleMessageCondition) - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Only the Messages for which SimpleMessageCondition.accept(Message) is true will be passed to Followers and other MessageConsumers.
withReadingBufferSize(int) - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Specify the buffer size that will be used for reading changes made to the watched file.
withStorageCondition(SimpleMessageCondition) - Method in class com.github.triceo.splitlog.api.LogWatchBuilder
Only the messages for which SimpleMessageCondition.accept(Message) is true will be stored within the future LogWatch.
write(OutputStream) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Will write to a stream the result of CommonFollower.getMessages(), using a MessageFormatter implementation of its own choosing.
write(OutputStream, MessageComparator) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Will write to a stream the result of CommonFollower.getMessages(MessageComparator), using a MessageFormatter implementation of its own choosing.
write(OutputStream, MessageComparator, MessageFormatter) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Will write to a stream the result of CommonFollower.getMessages(MessageComparator), using given MessageFormatter.
write(OutputStream, MessageFormatter) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Will write to a stream the result of CommonFollower.getMessages(), using given MessageFormatter.
write(OutputStream, SimpleMessageCondition) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Will write to a stream the result of CommonFollower.getMessages(SimpleMessageCondition), using a MessageFormatter implementation of its own choosing.
write(OutputStream, SimpleMessageCondition, MessageComparator) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Will write to a stream the result of CommonFollower.getMessages(SimpleMessageCondition, MessageComparator), using a MessageFormatter implementation of its own choosing.
write(OutputStream, SimpleMessageCondition, MessageComparator, MessageFormatter) - Method in interface com.github.triceo.splitlog.api.CommonFollower
write(OutputStream, SimpleMessageCondition, MessageFormatter) - Method in interface com.github.triceo.splitlog.api.CommonFollower
Will write to a stream the result of CommonFollower.getMessages(SimpleMessageCondition), using given MessageFormatter.
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links

Copyright © 2015. All rights reserved.