Skip to content

Commit ad705b1

Browse files
committed
logger
1 parent f27f74e commit ad705b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/java/cn/lliiooll/gmc/BotService.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ public class BotService extends Service {
2222
@Override
2323
public void onCreate() {
2424
Gmc_android.setPluginPath(new File(getFilesDir(),"plugins").getAbsolutePath());
25+
Gmc_android.setLogger(s -> {
26+
// TODO print log on screen
27+
});
2528
new Thread(Gmc_android::start).start();
2629
Toast.makeText(this, "Start Service", Toast.LENGTH_SHORT).show();
2730
active = true;

0 commit comments

Comments
 (0)