Parcourir la source

add debug log

tags/2.0.1
Jonathan Cobb il y a 4 ans
Parent
révision
0940a4c131
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. +1
    -0
      src/main/java/bubble/abp/BubbleBlockCondition.java

+ 1
- 0
src/main/java/bubble/abp/BubbleBlockCondition.java Voir le fichier

@@ -45,6 +45,7 @@ public class BubbleBlockCondition {
}

public boolean matches(String fqdn, String path, String contentType, String referer) {
if (log.isDebugEnabled()) log.debug("matches(fqdn="+fqdn+", path="+path+", contentType="+contentType+", referer="+referer+") with field="+field+", operation="+operation);
switch (field) {
case host: return operation.matches(fqdn, value);
case path: return operation.matches(path, value);


Chargement…
Annuler
Enregistrer