8000 debug logging info · githublucas420/RootCommands@9341439 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9341439

Browse files
author
Dominik
committed
debug logging info
1 parent 677b383 commit 9341439

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

RootCommands Demo/src/org/rootcommands/demo/BaseActivity.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package org.rootcommands.demo;
1818

19+
import org.rootcommands.RootCommands;
1920
import org.rootcommands.Shell;
2021
import org.rootcommands.Toolbox;
2122
import org.rootcommands.command.Command;
@@ -34,6 +35,9 @@ public class BaseActivity extends Activity {
3435
public void onCreate(Bundle savedInstanceState) {
3536
super.onCreate(savedInstanceState);
3637
setContentView(R.layout.main);
38+
39+
// enable debug logging
40+
RootCommands.DEBUG = true;
3741
}
3842

3943
private class MyCommand extends Command {

0 commit comments

Comments
 (0)
0