Package com.ultikits.ultitools.manager
Interface UltiPanelLogTransmitter.AgentLineSink
- Enclosing class:
UltiPanelLogTransmitter
static interface UltiPanelLogTransmitter.AgentLineSink
Receives one redacted console line for the v2
log.lines stream (plan 22-22).-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanAsked before a line is built: while it answersfalsethe transmitter neither redacts nor hands over anything, so a connection that does not take lines costs a logging thread nothing (22-22 fix).void
-
Method Details
-
offer
- Parameters:
timestamp- the line's time in milliseconds since the epochlevel- the line's levelmessage- the redacted message, with the redacted stack trace appended on the following lines
-
accepting
default boolean accepting()Asked before a line is built: while it answersfalsethe transmitter neither redacts nor hands over anything, so a connection that does not take lines costs a logging thread nothing (22-22 fix).- Returns:
- whether a line offered now would be sent
-