-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
-
trilead-ssh2-build-217-jenkins-14
If you pass a logger as parameter, the following method would not assigned the value
public synchronized void enableDebugging(boolean enable, DebugLogger logger) { Logger.enabled = enable; if (enable == false) { Logger.logger = null; } else { if (logger == null) { Logger.logger = new DebugLogger() { public void log(int level, String className, String message) { long now = System.currentTimeMillis(); System.err.println(now + " : " + className + ": " + message); } }; } } }