diff --git a/base/src/main/java/de/staropensource/sosengine/base/logging/LoggingThread.java b/base/src/main/java/de/staropensource/sosengine/base/logging/LoggingThread.java index 71f44a5..b319705 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/logging/LoggingThread.java +++ b/base/src/main/java/de/staropensource/sosengine/base/logging/LoggingThread.java @@ -131,4 +131,15 @@ public class LoggingThread { } else loggingThread.start(); } + + /** + * Returns the {@link Thread.State} of the logging thread. + * + * @return logging thread state + * @since v1-alpha4 + * @see Thread.State + */ + public static @NotNull Thread.State getState() { + return loggingThread.getState(); + } }