public class Logger extends Object
| Modifier and Type | Field and Description |
|---|---|
static Logger |
global |
static String |
GLOBAL_LOGGER_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
config(String msg) |
void |
entering(String sourceClass,
String sourceMethod) |
void |
entering(String sourceClass,
String sourceMethod,
Object param1) |
void |
entering(String sourceClass,
String sourceMethod,
Object[] params) |
void |
exiting(String sourceClass,
String sourceMethod) |
void |
exiting(String sourceClass,
String sourceMethod,
Object result) |
void |
fine(String msg) |
void |
finer(String msg) |
void |
finest(String msg) |
static Logger |
getAnonymousLogger() |
static Logger |
getAnonymousLogger(String resourceBundleName) |
static Logger |
getGlobal() |
Level |
getLevel() |
static Logger |
getLogger(String name) |
static Logger |
getLogger(String name,
String resourceBundleName) |
String |
getName() |
Logger |
getParent() |
ResourceBundle |
getResourceBundle() |
String |
getResourceBundleName() |
void |
info(String msg) |
boolean |
isLoggable(Level level) |
void |
log(Level level,
String msg) |
void |
log(Level level,
String msg,
Object param1) |
void |
log(Level level,
String msg,
Object[] params) |
void |
log(Level level,
String msg,
Throwable thrown) |
void |
log(LogRecord record) |
void |
logp(Level level,
String sourceClass,
String sourceMethod,
String msg) |
void |
logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Object param1) |
void |
logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Object[] params) |
void |
logp(Level level,
String sourceClass,
String sourceMethod,
String msg,
Throwable thrown) |
void |
logrb(Level level,
ResourceBundle bundle,
String msg,
Object... params) |
void |
logrb(Level level,
ResourceBundle bundle,
String msg,
Throwable thrown) |
void |
logrb(Level level,
String sourceClass,
String sourceMethod,
ResourceBundle bundle,
String msg,
Object... params) |
void |
logrb(Level level,
String sourceClass,
String sourceMethod,
ResourceBundle bundle,
String msg,
Throwable thrown) |
void |
logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg) |
void |
logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Object param1) |
void |
logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Object[] params) |
void |
logrb(Level level,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Throwable thrown) |
void |
setLevel(Level newLevel) |
void |
setParent(Logger parent) |
void |
setResourceBundle(ResourceBundle resourceBundle) |
void |
severe(String msg) |
void |
throwing(String sourceClass,
String sourceMethod,
Throwable thrown) |
void |
warning(String msg) |
public static final Logger global
public static final String GLOBAL_LOGGER_NAME
public void config(String msg)
public void fine(String msg)
public void finer(String msg)
public void finest(String msg)
public static Logger getAnonymousLogger()
public static final Logger getGlobal()
public Level getLevel()
public String getName()
public Logger getParent()
public ResourceBundle getResourceBundle()
public String getResourceBundleName()
public void info(String msg)
public boolean isLoggable(Level level)
public void log(LogRecord record)
public void logp(Level level, String sourceClass, String sourceMethod, String msg, Object param1)
public void logp(Level level, String sourceClass, String sourceMethod, String msg, Object[] params)
public void logp(Level level, String sourceClass, String sourceMethod, String msg, Throwable thrown)
public void logrb(Level level, ResourceBundle bundle, String msg, Object... params)
public void logrb(Level level, ResourceBundle bundle, String msg, Throwable thrown)
public void logrb(Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Object... params)
public void logrb(Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Throwable thrown)
public void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg)
public void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object param1)
public void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object[] params)
public void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Throwable thrown)
public void setLevel(Level newLevel)
public void setParent(Logger parent)
public void setResourceBundle(ResourceBundle resourceBundle)
public void severe(String msg)
public void warning(String msg)
Copyright © 2011–2020 Glowroot contributors. All rights reserved.