Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SandHook
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
SandHook
Commits
237274b7
Commit
237274b7
authored
Feb 17, 2019
by
swift_gan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add logger invoke switcher
parent
68be7414
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
DexLog.java
...in/java/com/swift/sandhook/xposedcompat/utils/DexLog.java
+5
-3
No files found.
xposedcompat/src/main/java/com/swift/sandhook/xposedcompat/utils/DexLog.java
View file @
237274b7
...
@@ -9,6 +9,8 @@ public class DexLog {
...
@@ -9,6 +9,8 @@ public class DexLog {
public
static
final
String
TAG
=
"SandXposed-dexmaker"
;
public
static
final
String
TAG
=
"SandXposed-dexmaker"
;
public
static
boolean
DEBUG
=
true
;
public
static
int
v
(
String
s
)
{
public
static
int
v
(
String
s
)
{
return
Log
.
v
(
TAG
,
s
);
return
Log
.
v
(
TAG
,
s
);
}
}
...
@@ -22,9 +24,9 @@ public class DexLog {
...
@@ -22,9 +24,9 @@ public class DexLog {
}
}
public
static
void
printMethodHookIn
(
Member
member
)
{
public
static
void
printMethodHookIn
(
Member
member
)
{
if
(
member
==
null
)
if
(
DEBUG
&&
member
!=
null
)
{
return
;
Log
.
d
(
"SandHook-Xposed"
,
"method <"
+
member
.
toString
()
+
"> hook in"
)
;
Log
.
d
(
"SandHook-Xposed"
,
"method <"
+
member
.
toString
()
+
"> hook in"
);
}
}
}
public
static
int
w
(
String
s
)
{
public
static
int
w
(
String
s
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment