projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
✨ Add debug information to Core
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
core
/
Core.java
diff --git
a/src/main/java/net/pterodactylus/sone/core/Core.java
b/src/main/java/net/pterodactylus/sone/core/Core.java
index
2ff27c9
..
a5b219c
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/core/Core.java
+++ b/
src/main/java/net/pterodactylus/sone/core/Core.java
@@
-120,6
+120,8
@@
public class Core extends AbstractService implements SoneProvider, PostProvider,
/** The start time. */
private final long startupTime = System.currentTimeMillis();
/** The start time. */
private final long startupTime = System.currentTimeMillis();
+ private final DebugInformation debugInformation = new DebugInformation();
+
/** The preferences. */
private final Preferences preferences;
/** The preferences. */
private final Preferences preferences;
@@
-227,6
+229,11
@@
public class Core extends AbstractService implements SoneProvider, PostProvider,
return startupTime;
}
return startupTime;
}
+ @Nonnull
+ public DebugInformation getDebugInformation() {
+ return debugInformation;
+ }
+
/**
* Returns the options used by the core.
*
/**
* Returns the options used by the core.
*