Contents
Class HytaleConsole
java.lang.Object
java.lang.Thread
com.hypixel.hytale.logger.backend.HytaleConsole
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsFields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidrun()voidsetAbovePromptPrinter(Consumer<String> printer) Routes console output through the given printer (typicallyLineReader::printAbove) so log lines are drawn above an active prompt rather than into the line being edited.voidsetTerminal(String type) voidshutdown()Methods inherited from class Thread
activeCount, checkAccess, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, threadId, toString, yield
-
Field Details
-
TYPE_DUMB
- See Also:
-
INSTANCE
-
-
Method Details
-
publish
-
run
-
shutdown
public void shutdown() -
setTerminal
-
setAbovePromptPrinter
Routes console output through the given printer (typicallyLineReader::printAbove) so log lines are drawn above an active prompt rather than into the line being edited. Passnullto restore direct writes (e.g. before the terminal is closed on shutdown). -
getFormatter
-