Package net.orbyfied.j8.util.logging.io
Class LogOutput
java.lang.Object
net.orbyfied.j8.util.logging.io.LogOutput
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic LogOutput.Buildervoidclose()Closes this output, deactivating the worker thread and closing the output stream.Forks this output.getName()booleanisActive()booleanpipeline()voidQueues a new log record and notifies the worker thread if it is waiting..setActive(boolean b) Set the worker status.setFormatted(boolean b)
-
Field Details
-
STDOUT
-
VOIDING
-
-
Method Details
-
fork
Forks this output.- Parameters:
name- The new name.- Returns:
- The builder.
-
getName
-
isFormatted
public boolean isFormatted() -
setFormatted
-
getStream
-
isActive
public boolean isActive() -
pipeline
-
close
public void close()Closes this output, deactivating the worker thread and closing the output stream. -
queue
Queues a new log record and notifies the worker thread if it is waiting..- Parameters:
record- The record.
-
setActive
Set the worker status.- Parameters:
b- Active or inactive.- Returns:
- This.
-
builder
-