JAL-3949 Complete new abstracted logging framework in jalview.log. Updated log calls...
[jalview.git] / src / jalview / ext / rbvi / chimera / JalviewChimeraBinding.java
index 7169fa2..d2c991f 100644 (file)
@@ -337,16 +337,16 @@ public abstract class JalviewChimeraBinding extends AAStructureBindingModel
     if (getResponse)
     {
       reply = lastReply;
-      if (Cache.log.isDebugEnabled()) {
-        Cache.log.debug(
+      if (Cache.isDebugEnabled()) {
+        Cache.debug(
               "Response from command ('" + cmd + "') was:\n" + lastReply); 
       }
     }
     else
     {
-      if (Cache.log.isDebugEnabled())
+      if (Cache.isDebugEnabled())
       {
-        Cache.log.debug("Command executed: " + cmd);
+        Cache.debug("Command executed: " + cmd);
       }
     }
 
@@ -527,7 +527,7 @@ public abstract class JalviewChimeraBinding extends AAStructureBindingModel
         atomSpecs.add(spec);
       } catch (IllegalArgumentException e)
       {
-        Cache.log.error("Failed to parse atomspec: " + atomSpec);
+        Cache.error("Failed to parse atomspec: " + atomSpec);
       }
     }
     return atomSpecs;
@@ -679,7 +679,7 @@ public abstract class JalviewChimeraBinding extends AAStructureBindingModel
         spec = parseAtomSpec(atomSpec);
       } catch (IllegalArgumentException e)
       {
-        Cache.log.error("Problem parsing atomspec " + atomSpec);
+        Cache.error("Problem parsing atomspec " + atomSpec);
         continue;
       }