public class NoOpLogger extends Logger
global, GLOBAL_LOGGER_NAME
Modifier | Constructor and Description |
---|---|
protected |
NoOpLogger(String name) |
Modifier and Type | Method and Description |
---|---|
void |
config(String msg) |
void |
config(Supplier<String> msgSupplier) |
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 |
fine(Supplier<String> msgSupplier) |
void |
finer(String msg) |
void |
finer(Supplier<String> msgSupplier) |
void |
finest(String msg) |
void |
finest(Supplier<String> msgSupplier) |
Level |
getLevel() |
void |
info(String msg) |
void |
info(Supplier<String> msgSupplier) |
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(Level level,
Supplier<String> msgSupplier) |
void |
log(Level level,
Throwable thrown,
Supplier<String> msgSupplier) |
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 |
logp(Level level,
String sourceClass,
String sourceMethod,
Supplier<String> msgSupplier) |
void |
logp(Level level,
String sourceClass,
String sourceMethod,
Throwable thrown,
Supplier<String> msgSupplier) |
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 |
severe(String msg) |
void |
severe(Supplier<String> msgSupplier) |
void |
throwing(String sourceClass,
String sourceMethod,
Throwable thrown) |
void |
warning(String msg) |
void |
warning(Supplier<String> msgSupplier) |
addHandler, getAnonymousLogger, getAnonymousLogger, getFilter, getGlobal, getHandlers, getLogger, getLogger, getName, getParent, getResourceBundle, getResourceBundleName, getUseParentHandlers, removeHandler, setFilter, setParent, setResourceBundle, setUseParentHandlers
protected NoOpLogger(String name)
public void logp(Level level, String sourceClass, String sourceMethod, Supplier<String> msgSupplier)
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 logp(Level level, String sourceClass, String sourceMethod, Throwable thrown, Supplier<String> msgSupplier)
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, ResourceBundle bundle, String msg, Object... params)
public void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Throwable thrown)
public void logrb(Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Throwable thrown)
public void setLevel(Level newLevel) throws SecurityException
setLevel
in class Logger
SecurityException
public boolean isLoggable(Level level)
isLoggable
in class Logger
Copyright © 1999-1969 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.