org.enhydra.barracuda.core.util.logging
Class BCategory
java.lang.Object
|
+--org.apache.log4j.Category
|
+--org.apache.log4j.Logger
|
+--org.enhydra.barracuda.core.util.logging.BCategory
- All Implemented Interfaces:
- org.apache.log4j.spi.AppenderAttachable
- public class BCategory
- extends org.apache.log4j.Logger
Custom BCategory. This class simply provides a few convenience
methods on top of the regular Category functionality. Specifically.
it allows you to specify an indent.
- Since:
- 1.0
- Version:
- %I%, %G%
- Author:
- Christian Cryder
, Stephen Peterson
, Jacob Kjome
Fields inherited from class org.apache.log4j.Category |
additive, level, name, parent, repository, resourceBundle |
Constructor Summary |
protected |
BCategory(java.lang.String name)
Just calls the parent constuctor. |
Method Summary |
static void |
configure()
|
static void |
configure(java.lang.String configFile)
|
void |
debug(int indent,
java.lang.Object message)
|
void |
debug(int indent,
java.lang.Object message,
java.lang.Throwable t)
|
void |
error(int indent,
java.lang.Object message)
|
void |
error(int indent,
java.lang.Object message,
java.lang.Throwable t)
|
void |
fatal(int indent,
java.lang.Object message)
|
void |
fatal(int indent,
java.lang.Object message,
java.lang.Throwable t)
|
static BCategory |
getBInstance(java.lang.String name)
|
static org.apache.log4j.Category |
getInstance(java.lang.String name)
|
static org.apache.log4j.Logger |
getLogger(java.lang.String name)
|
void |
info(int indent,
java.lang.Object message)
|
void |
info(int indent,
java.lang.Object message,
java.lang.Throwable t)
|
java.lang.String |
inset(int depth)
|
static boolean |
isInitialized()
|
void |
warn(int indent,
java.lang.Object message)
|
void |
warn(int indent,
java.lang.Object message,
java.lang.Throwable t)
|
Methods inherited from class org.apache.log4j.Logger |
getLogger, getLogger, getRootLogger |
Methods inherited from class org.apache.log4j.Category |
addAppender, assertLog, callAppenders, debug, debug, error, error, exists, fatal, fatal, forcedLog, getAdditivity, getAllAppenders, getAppender, getChainedPriority, getCurrentCategories, getDefaultHierarchy, getEffectiveLevel, getHierarchy, getInstance, getLevel, getLoggerRepository, getName, getParent, getPriority, getResourceBundle, getResourceBundleString, getRoot, info, info, isAttached, isDebugEnabled, isEnabledFor, isInfoEnabled, l7dlog, l7dlog, log, log, log, removeAllAppenders, removeAppender, removeAppender, setAdditivity, setLevel, setPriority, setResourceBundle, shutdown, warn, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_LOG4J_FILE
public static java.lang.String DEFAULT_LOG4J_FILE
BCategory
protected BCategory(java.lang.String name)
- Just calls the parent constuctor.
isInitialized
public static boolean isInitialized()
configure
public static void configure()
configure
public static void configure(java.lang.String configFile)
getInstance
public static org.apache.log4j.Category getInstance(java.lang.String name)
getLogger
public static org.apache.log4j.Logger getLogger(java.lang.String name)
getBInstance
public static BCategory getBInstance(java.lang.String name)
debug
public void debug(int indent,
java.lang.Object message)
debug
public void debug(int indent,
java.lang.Object message,
java.lang.Throwable t)
info
public void info(int indent,
java.lang.Object message)
info
public void info(int indent,
java.lang.Object message,
java.lang.Throwable t)
warn
public void warn(int indent,
java.lang.Object message)
warn
public void warn(int indent,
java.lang.Object message,
java.lang.Throwable t)
error
public void error(int indent,
java.lang.Object message)
error
public void error(int indent,
java.lang.Object message,
java.lang.Throwable t)
fatal
public void fatal(int indent,
java.lang.Object message)
fatal
public void fatal(int indent,
java.lang.Object message,
java.lang.Throwable t)
inset
public java.lang.String inset(int depth)
Copyright © 2001 Enhydra.org