LoggerFactory.getLogger(Class) instead@Deprecated public class Logger extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_MSG_LENGTH
Deprecated.
Use
LoggerFactory.getLogger(Class) instead |
| Constructor and Description |
|---|
Logger()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ILogger |
__()
Deprecated.
Use
LoggerFactory.getLogger(Class) instead |
static void |
crashTest(String msg)
Deprecated.
|
static void |
die(String thread,
Exception e)
Deprecated.
|
static void |
exception(Exception e)
Deprecated.
Use
Logger.error(String, Throwable) instead |
static void |
exception(String info,
Exception e)
Deprecated.
Use
Logger.error(String, Throwable) instead |
static void |
halt()
Deprecated.
|
static boolean |
isLoggingEnabled()
Deprecated.
|
static void |
log(String type,
String message)
Deprecated.
Use
Logger.info(String) instead |
protected static void |
logForce(String type,
String message)
Deprecated.
|
static void |
registerLogger(ILogger theLogger)
Deprecated.
Use
LoggerFactory.getLogger(Class) instead |
@Deprecated public static final int MAX_MSG_LENGTH
LoggerFactory.getLogger(Class) instead@Deprecated public static void registerLogger(ILogger theLogger)
LoggerFactory.getLogger(Class) instead@Deprecated public static ILogger __()
LoggerFactory.getLogger(Class) instead@Deprecated public static void log(String type, String message)
Logger.info(String) insteadNOTE: This method makes a best faith attempt to log the given data, but will not produce any output if such attempts fail.
type - The type of incident to be logged.message - A message describing the incident.@Deprecated protected static void logForce(String type, String message)
@Deprecated public static boolean isLoggingEnabled()
@Deprecated public static void exception(Exception e)
Logger.error(String, Throwable) instead@Deprecated public static void exception(String info, Exception e)
Logger.error(String, Throwable) instead@Deprecated public static void die(String thread, Exception e)
@Deprecated public static void crashTest(String msg)
@Deprecated public static void halt()
Copyright © 2021. All rights reserved.