✨ Add debug information to Core
[Sone.git] / src / main / java / net / pterodactylus / sone / core / Core.java
index 2ff27c9..a5b219c 100644 (file)
@@ -120,6 +120,8 @@ public class Core extends AbstractService implements SoneProvider, PostProvider,
        /** The start time. */
        private final long startupTime = System.currentTimeMillis();
 
+       private final DebugInformation debugInformation = new DebugInformation();
+
        /** The preferences. */
        private final Preferences preferences;
 
@@ -227,6 +229,11 @@ public class Core extends AbstractService implements SoneProvider, PostProvider,
                return startupTime;
        }
 
+       @Nonnull
+       public DebugInformation getDebugInformation() {
+               return debugInformation;
+       }
+
        /**
         * Returns the options used by the core.
         *