rl-api, rl-client: Remove core logger
This commit is contained in:
@@ -41,7 +41,6 @@ import net.runelite.api.vars.AccountType;
|
||||
import net.runelite.api.widgets.Widget;
|
||||
import net.runelite.api.widgets.WidgetConfig;
|
||||
import net.runelite.api.widgets.WidgetInfo;
|
||||
import org.slf4j.Logger;
|
||||
|
||||
/**
|
||||
* Represents the RuneScape client.
|
||||
@@ -57,12 +56,6 @@ public interface Client extends GameEngine
|
||||
|
||||
void setDrawCallbacks(DrawCallbacks drawCallbacks);
|
||||
|
||||
/**
|
||||
* Retrieve a global logger for the client.
|
||||
* This is most useful for mixins which can't have their own.
|
||||
*/
|
||||
Logger getLogger();
|
||||
|
||||
String getBuildID();
|
||||
|
||||
/**
|
||||
|
||||
@@ -52,8 +52,6 @@ import net.runelite.client.util.ExecutorServiceExceptionLogger;
|
||||
import net.runelite.http.api.RuneLiteAPI;
|
||||
import okhttp3.Cache;
|
||||
import okhttp3.OkHttpClient;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class RuneLiteModule extends AbstractModule
|
||||
{
|
||||
@@ -97,10 +95,6 @@ public class RuneLiteModule extends AbstractModule
|
||||
bind(EventBus.class)
|
||||
.annotatedWith(Names.named("Deferred EventBus"))
|
||||
.to(DeferredEventBus.class);
|
||||
|
||||
bind(Logger.class)
|
||||
.annotatedWith(Names.named("Core Logger"))
|
||||
.toInstance(LoggerFactory.getLogger(RuneLite.class));
|
||||
}
|
||||
|
||||
@Provides
|
||||
|
||||
Reference in New Issue
Block a user