Skip to content

Commit

Permalink
Use the full script name in the logs.
Browse files Browse the repository at this point in the history
For debugging wala#209.
  • Loading branch information
khatchad committed Jul 22, 2024
1 parent e273254 commit 5da38bd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ public void visitPropertyRead(AstPropertyRead instruction) {

logger.info(
"Adding: "
+ declaredTarget.getDeclaringClass().getName().getClassName()
+ declaredTarget.getDeclaringClass().getName().toString().substring(1)
+ " to wildcard imports for: "
+ scriptName
+ ".");
Expand Down Expand Up @@ -288,7 +288,7 @@ public void visitPropertyRead(AstPropertyRead instruction) {

logger.info(
"Adding: "
+ methodReference.getDeclaringClass().getName().getClassName()
+ methodReference.getDeclaringClass().getName().toString().substring(1)
+ " to wildcard imports for: "
+ scriptName
+ ".");
Expand Down Expand Up @@ -443,7 +443,7 @@ private void processWildcardImports(
for (MethodReference importMethodReference : deque) {
logger.fine(
"Library with wildcard import is: "
+ importMethodReference.getDeclaringClass().getName().getClassName()
+ importMethodReference.getDeclaringClass().getName().toString().substring(1)
+ ".");

logger.fine("Examining global: " + fieldName + " for wildcard import.");
Expand Down

0 comments on commit 5da38bd

Please sign in to comment.