public class Logger extends 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 |
Modifier and Type | Method and Description |
---|---|
static Logger |
getLogger(Class x) |
boolean |
isEnabled() |
void |
log(int lv,
String message) |
void |
log(int lv,
String message,
Throwable cause) |
public static boolean enabled
public static DebugLogger logger
public Logger(Class x)
Copyright © 2016. All rights reserved.