@InterfaceAudience.Public @InterfaceStability.Evolving public class LogManager extends Object implements LoggerConstants
LOG_CLASS_FQ_NAME| Constructor and Description |
|---|
LogManager() |
| Modifier and Type | Method and Description |
|---|---|
static Class<Log> |
getLogClass(String name)
Gets the log class.
|
static String |
getLogClassName()
Gets the log class name.
|
static Logger |
getLogger(String name)
Gets the logger.
|
static void |
setLogClass(Class<Log> logClass)
Sets the log class.
|
static void |
setLogClassName(String logClassName)
Sets the logger to perform the actual logging mechanism by delegating the
tasks.
|
static void |
shutdownAll(ShutdownMode mode)
Shutdown all.
|
public static Logger getLogger(String name)
name - the namepublic static void setLogClassName(String logClassName)
Logger with the preferred Logging
framework..logClassName - the logClassName to setpublic static String getLogClassName()
public static void setLogClass(Class<Log> logClass)
logClass - the logClass to setpublic static Class<Log> getLogClass(String name)
name - the namepublic static void shutdownAll(ShutdownMode mode)
mode - the modeCopyright © 2016 utils4j. All Rights Reserved.