com.trilead.ssh2.log
public class Logger extends java.lang.Object
For speed reasons, the static variables are not protected with semaphores. In other words, if you dynamicaly change the logging settings, then some threads may still use the old setting.
Modifier and Type | Field and Description |
---|---|
static boolean |
enabled |
static DebugLogger |
logger |
Constructor and Description |
---|
Logger(java.lang.Class x) |
public static boolean enabled
public static DebugLogger logger
public static final Logger getLogger(java.lang.Class x)
public final boolean isEnabled()
public final void log(int level, java.lang.String message)
Copyright © 2014. All Rights Reserved.