|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use LogSink.Message | |
|---|---|
| edu.rice.cs.plt.debug | Defines a variety of logging classes, along with other facilities for code-embedded debugging. |
| Uses of LogSink.Message in edu.rice.cs.plt.debug |
|---|
| Subclasses of LogSink.Message in edu.rice.cs.plt.debug | |
|---|---|
static class |
LogSink.EndMessage
A message signifying the end of a block of code. |
static class |
LogSink.ErrorMessage
A message logging the occurrence of some error (a Throwable). |
static class |
LogSink.StackMessage
A message logging the thread's current stack trace. |
static class |
LogSink.StandardMessage
A standard logging message, which may include a text message and name-value pairs. |
static class |
LogSink.StartMessage
A message signifying the beginning of a block of code. |
static class |
LogSink.ValueMessage
|
| Methods in edu.rice.cs.plt.debug that return LogSink.Message | |
|---|---|
abstract LogSink.Message |
LogSink.Message.serializable()
Convert the message to a form that is guaranteed to be serializable (e.g., invokes toString() on
objects of arbitrary type). |
| Methods in edu.rice.cs.plt.debug that return types with arguments of type LogSink.Message | |
|---|---|
static Predicate<LogSink.Message> |
FilteredLogSink.locationBlackListPredicate(String... prefixes)
Produce a predicate that rejects any caller locations starting with the given prefixes. |
static Predicate<LogSink.Message> |
FilteredLogSink.locationPredicate(Predicate<? super String> pred)
Produce a predicate that accepts messages iff their caller location is accepted by pred. |
static Predicate<LogSink.Message> |
FilteredLogSink.locationWhiteListPredicate(String... prefixes)
Produce a predicate that accepts only caller locations starting with the given prefixes. |
static Predicate<LogSink.Message> |
FilteredLogSink.stackDepthPredicate(int maxDepth)
Produce a predicate that only accepts message with stack traces of at most the given depth. |
static Predicate<LogSink.Message> |
FilteredLogSink.threadBlackListPredicate(String... nameParts)
Produce a predicate that only accepts messages logged from threads matching the given names. |
static Predicate<LogSink.Message> |
FilteredLogSink.threadBlackListPredicate(Thread... threads)
Produce a predicate that only accepts messages logged from the given thread. |
static Predicate<LogSink.Message> |
FilteredLogSink.threadPredicate(Predicate<? super ThreadSnapshot> pred)
Produce a predicate that accepts messages iff their associated ThreadSnapshot is accepted by pred. |
static Predicate<LogSink.Message> |
FilteredLogSink.threadWhiteListPredicate(String... nameParts)
Produce a predicate that only accepts messages logged from threads matching the given names. |
static Predicate<LogSink.Message> |
FilteredLogSink.threadWhiteListPredicate(Thread... threads)
Produce a predicate that only accepts messages logged from the given thread. |
| Methods in edu.rice.cs.plt.debug with parameters of type LogSink.Message | |
|---|---|
protected void |
IndentedTextLogSink.write(LogSink.Message m,
SizedIterable<String> text)
|
protected void |
TreeLogSink.write(LogSink.Message m,
SizedIterable<String> text)
|
protected abstract void |
TextLogSink.write(LogSink.Message m,
SizedIterable<String> text)
Record the given message, the body of which is described by the given lines of text. |
protected void |
AssertEmptyLogSink.write(LogSink.Message m,
SizedIterable<String> text)
|
protected void |
PopupLogSink.write(LogSink.Message m,
SizedIterable<String> messages)
|
protected abstract BufferedWriter |
IndentedTextLogSink.writer(LogSink.Message m)
Get a BufferedWriter for outputting the given message. |
protected BufferedWriter |
WriterLogSink.writer(LogSink.Message m)
|
protected BufferedWriter |
SystemOutLogSink.writer(LogSink.Message m)
|
protected BufferedWriter |
FileLogSink.writer(LogSink.Message m)
|
protected BufferedWriter |
SystemErrLogSink.writer(LogSink.Message m)
|
protected BufferedWriter |
OutputStreamLogSink.writer(LogSink.Message m)
|
| Constructors in edu.rice.cs.plt.debug with parameters of type LogSink.Message | |
|---|---|
LogSink.Message(LogSink.Message copy)
|
|
| Constructor parameters in edu.rice.cs.plt.debug with type arguments of type LogSink.Message | |
|---|---|
FilteredLogSink(LogSink delegate,
Predicate<? super LogSink.Message> pred)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||