Package com.pnfsoftware.jeb.util.logging
Class Sink<T>
java.lang.Object
com.pnfsoftware.jeb.util.logging.Sink<T>
- Type Parameters:
T
- type of output
- Direct Known Subclasses:
BufferSink
,StreamSink
An abstract output sink receiving the logs. Refer to the subclasses.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
hashCode()
boolean
void
setLogLevel
(int logLevel) void
setPrefixWithTimestamp
(boolean prefixWithTimestamp) toString()
-
Field Details
-
output
-
-
Constructor Details
-
Sink
-
-
Method Details
-
getOutput
-
getLogLevel
public int getLogLevel() -
setLogLevel
public void setLogLevel(int logLevel) -
isPrefixWithTimestamp
public boolean isPrefixWithTimestamp() -
setPrefixWithTimestamp
public void setPrefixWithTimestamp(boolean prefixWithTimestamp) -
hashCode
public int hashCode() -
equals
-
toString
-