public class XRLog extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CASCADE |
static String |
CONFIG |
static String |
CSS_PARSE |
static String |
EXCEPTION |
static String |
GENERAL |
static String |
INIT |
static String |
JUNIT |
static String |
LAYOUT |
static String |
LOAD |
static String |
MATCH |
static String |
RENDER |
static String |
XML_ENTITIES |
| Constructor and Description |
|---|
XRLog() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cascade(Level level,
String msg) |
static void |
cascade(Level level,
String msg,
Throwable th) |
static void |
cascade(String msg) |
static void |
cssParse(Level level,
String msg) |
static void |
cssParse(Level level,
String msg,
Throwable th) |
static void |
cssParse(String msg) |
static void |
exception(String msg) |
static void |
exception(String msg,
Throwable th) |
static void |
general(Level level,
String msg) |
static void |
general(Level level,
String msg,
Throwable th) |
static void |
general(String msg) |
static XRLogger |
getLoggerImpl() |
static void |
init(Level level,
String msg) |
static void |
init(Level level,
String msg,
Throwable th) |
static void |
init(String msg) |
static boolean |
isLoggingEnabled()
Whether logging is on or off.
|
static void |
junit(Level level,
String msg) |
static void |
junit(Level level,
String msg,
Throwable th) |
static void |
junit(String msg) |
static void |
layout(Level level,
String msg) |
static void |
layout(Level level,
String msg,
Throwable th) |
static void |
layout(String msg) |
static List |
listRegisteredLoggers()
Returns a list of all loggers that will be accessed by XRLog.
|
static void |
load(Level level,
String msg) |
static void |
load(Level level,
String msg,
Throwable th) |
static void |
load(String msg) |
static void |
log(String where,
Level level,
String msg) |
static void |
log(String where,
Level level,
String msg,
Throwable th) |
static void |
main(String[] args) |
static void |
match(Level level,
String msg) |
static void |
match(Level level,
String msg,
Throwable th) |
static void |
match(String msg) |
static void |
render(Level level,
String msg) |
static void |
render(Level level,
String msg,
Throwable th) |
static void |
render(String msg) |
static void |
setLevel(String log,
Level level) |
static void |
setLoggerImpl(XRLogger loggerImpl) |
static void |
setLoggingEnabled(boolean loggingEnabled)
Turns logging on or off, without affecting logging configuration.
|
static void |
xmlEntities(Level level,
String msg) |
static void |
xmlEntities(Level level,
String msg,
Throwable th) |
static void |
xmlEntities(String msg) |
public static final String CONFIG
public static final String EXCEPTION
public static final String GENERAL
public static final String INIT
public static final String JUNIT
public static final String LOAD
public static final String MATCH
public static final String CASCADE
public static final String XML_ENTITIES
public static final String CSS_PARSE
public static final String LAYOUT
public static final String RENDER
public static List listRegisteredLoggers()
public static void cssParse(String msg)
public static void xmlEntities(String msg)
public static void cascade(String msg)
public static void exception(String msg)
public static void general(String msg)
public static void init(String msg)
public static void junit(String msg)
public static void load(String msg)
public static void match(String msg)
public static void layout(String msg)
public static void render(String msg)
public static void main(String[] args)
public static boolean isLoggingEnabled()
public static void setLoggingEnabled(boolean loggingEnabled)
loggingEnabled - Flag whether logging is enabled or not;
if false, all logging calls fail silently. Corresponds
to configuration file property xr.util-logging.loggingEnabledpublic static XRLogger getLoggerImpl()
public static void setLoggerImpl(XRLogger loggerImpl)
Copyright © 2018. All rights reserved.