We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f27f74e commit ad705b1Copy full SHA for ad705b1
app/src/main/java/cn/lliiooll/gmc/BotService.java
@@ -22,6 +22,9 @@ public class BotService extends Service {
22
@Override
23
public void onCreate() {
24
Gmc_android.setPluginPath(new File(getFilesDir(),"plugins").getAbsolutePath());
25
+ Gmc_android.setLogger(s -> {
26
+ // TODO print log on screen
27
+ });
28
new Thread(Gmc_android::start).start();
29
Toast.makeText(this, "Start Service", Toast.LENGTH_SHORT).show();
30
active = true;
0 commit comments