git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3949 Complete new abstracted logging framework in jalview.log. Updated log calls...
[jalview.git]
/
src
/
jalview
/
gui
/
AppJmol.java
diff --git
a/src/jalview/gui/AppJmol.java
b/src/jalview/gui/AppJmol.java
index
217d2b1
..
6f483d9
100644
(file)
--- a/
src/jalview/gui/AppJmol.java
+++ b/
src/jalview/gui/AppJmol.java
@@
-309,10
+309,10
@@
public class AppJmol extends StructureViewerBase
} catch (OutOfMemoryError oomerror)
{
new OOMWarning("When trying to open the Jmol viewer!", oomerror);
} catch (OutOfMemoryError oomerror)
{
new OOMWarning("When trying to open the Jmol viewer!", oomerror);
- Cache.log.debug("File locations are " + filesString);
+ Cache.debug("File locations are " + filesString);
} catch (Exception ex)
{
} catch (Exception ex)
{
- Cache.log.error("Couldn't open Jmol viewer!", ex);
+ Cache.error("Couldn't open Jmol viewer!", ex);
ex.printStackTrace();
return;
}
ex.printStackTrace();
return;
}
@@
-333,11
+333,11
@@
public class AppJmol extends StructureViewerBase
{
new OOMWarning("When trying to add structures to the Jmol viewer!",
oomerror);
{
new OOMWarning("When trying to add structures to the Jmol viewer!",
oomerror);
- Cache.log.debug("File locations are " + filesString);
+ Cache.debug("File locations are " + filesString);
return;
} catch (Exception ex)
{
return;
} catch (Exception ex)
{
- Cache.log.error("Couldn't add files to Jmol viewer!", ex);
+ Cache.error("Couldn't add files to Jmol viewer!", ex);
ex.printStackTrace();
return;
}
ex.printStackTrace();
return;
}
@@
-353,7
+353,7
@@
public class AppJmol extends StructureViewerBase
{
try
{
{
try
{
- Cache.log.debug("Waiting around for jmb notify.");
+ Cache.debug("Waiting around for jmb notify.");
waitTotal += waitFor;
// Thread.sleep() throws an exception in JS
waitTotal += waitFor;
// Thread.sleep() throws an exception in JS