public final class LogFactory
extends java.lang.Object
Log
instances.Modifier and Type | Field and Description |
---|---|
protected static CustomLogFactory |
custom_log_factory |
static boolean |
IS_LOG4J2_AVAILABLE |
protected static boolean |
use_jdk_logger |
Modifier and Type | Method and Description |
---|---|
static CustomLogFactory |
getCustomLogFactory() |
static Log |
getLog(java.lang.Class clazz) |
static Log |
getLog(java.lang.String category) |
protected static boolean |
isAvailable(java.lang.String classname) |
protected static boolean |
isPropertySet(java.lang.String property_name) |
static java.lang.String |
loggerType() |
static void |
setCustomLogFactory(CustomLogFactory factory) |
static boolean |
useJdkLogger() |
static void |
useJdkLogger(boolean flag) |
public static final boolean IS_LOG4J2_AVAILABLE
protected static boolean use_jdk_logger
protected static CustomLogFactory custom_log_factory
public static CustomLogFactory getCustomLogFactory()
public static void setCustomLogFactory(CustomLogFactory factory)
public static boolean useJdkLogger()
public static void useJdkLogger(boolean flag)
public static java.lang.String loggerType()
protected static boolean isAvailable(java.lang.String classname)
protected static boolean isPropertySet(java.lang.String property_name)
public static Log getLog(java.lang.Class clazz)
public static Log getLog(java.lang.String category)
Copyright © 1998-2020 Red Hat. All Rights Reserved.