aboutsummaryrefslogtreecommitdiff
path: root/spark-common/src/main/java/me/lucko/spark/common/SparkPlugin.java
diff options
context:
space:
mode:
Diffstat (limited to 'spark-common/src/main/java/me/lucko/spark/common/SparkPlugin.java')
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/SparkPlugin.java12
1 files changed, 2 insertions, 10 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/SparkPlugin.java b/spark-common/src/main/java/me/lucko/spark/common/SparkPlugin.java
index bf745df..9901bdb 100644
--- a/spark-common/src/main/java/me/lucko/spark/common/SparkPlugin.java
+++ b/spark-common/src/main/java/me/lucko/spark/common/SparkPlugin.java
@@ -36,17 +36,17 @@ import me.lucko.spark.common.tick.TickReporter;
import me.lucko.spark.common.util.classfinder.ClassFinder;
import me.lucko.spark.common.util.classfinder.FallbackClassFinder;
import me.lucko.spark.common.util.classfinder.InstrumentationClassFinder;
+import me.lucko.spark.common.util.log.Logger;
import java.nio.file.Path;
import java.util.Collection;
import java.util.Collections;
-import java.util.logging.Level;
import java.util.stream.Stream;
/**
* Spark plugin interface
*/
-public interface SparkPlugin {
+public interface SparkPlugin extends Logger {
/**
* Gets the version of the plugin.
@@ -93,14 +93,6 @@ public interface SparkPlugin {
}
/**
- * Print to the plugin logger.
- *
- * @param level the log level
- * @param msg the message
- */
- void log(Level level, String msg);
-
- /**
* Gets the default {@link ThreadDumper} to be used by the plugin.
*
* @return the default thread dumper