public class InternalLogger extends Object
Logger as this code can be used as an Handler for java.util.logging and we would then have an infinite loop.| Constructor and Description |
|---|
InternalLogger(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
fine(String msg) |
void |
finer(String msg) |
void |
finest(String msg) |
static Level |
getLevel() |
static InternalLogger |
getLogger(Class clazz) |
static InternalLogger |
getLogger(String name) |
void |
info(String msg) |
boolean |
isLoggable(Level level) |
void |
log(Level level,
String msg) |
void |
log(Level level,
String msg,
Throwable t)
synchronize for the
SimpleDateFormat. |
static void |
setLevel(Level level) |
void |
warn(String msg) |
void |
warn(String msg,
Throwable t) |
public InternalLogger(String name)
public static InternalLogger getLogger(@Nullable String name)
public static InternalLogger getLogger(@Nullable Class clazz)
public static Level getLevel()
public static void setLevel(Level level)
public boolean isLoggable(Level level)
Copyright © 2014. All rights reserved.