Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.vrspace.server
Class Log4JLogger  view Log4JLogger download Log4JLogger.java

java.lang.Object
  extended byorg.vrspace.util.Logger
      extended byorg.vrspace.server.Log4JLogger
All Implemented Interfaces:
java.lang.Runnable

public class Log4JLogger
extends org.vrspace.util.Logger


Field Summary
(package private) static java.lang.reflect.Method debug
           
(package private) static java.lang.reflect.Method error
           
(package private) static java.lang.reflect.Method errort
           
(package private) static java.lang.reflect.Method info
           
protected static java.lang.Object log4j
           
(package private)  java.lang.String name
           
(package private) static java.lang.reflect.Method pop
           
(package private) static java.lang.reflect.Method push
           
(package private) static java.lang.reflect.Method warn
           
 
Fields inherited from class org.vrspace.util.Logger
active, DEBUG, ERROR, INFO, logger, logLevel, stop, WARNING
 
Constructor Summary
Log4JLogger(java.lang.String name)
           
 
Method Summary
protected  void logString(int severity, java.lang.String msg)
          Log msg with specified severity, if severity is less or equal to current log level
protected  void logThrowable(java.lang.String msg, java.lang.Throwable t)
           
protected  void logThrowable(java.lang.Throwable t)
           
protected  void popNDC()
           
protected  void pushNDC()
           
 
Methods inherited from class org.vrspace.util.Logger
getLogLevel, log, log, log, logDebug, logDebug, logError, logError, logError, logError, logHeader, logInfo, logInfo, logWarning, logWarning, run, setLogLevel, startStaticLogger, stopOnError, stopStaticLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

warn

static java.lang.reflect.Method warn

info

static java.lang.reflect.Method info

debug

static java.lang.reflect.Method debug

error

static java.lang.reflect.Method error

errort

static java.lang.reflect.Method errort

push

static java.lang.reflect.Method push

pop

static java.lang.reflect.Method pop

log4j

protected static java.lang.Object log4j

name

java.lang.String name
Constructor Detail

Log4JLogger

public Log4JLogger(java.lang.String name)
Method Detail

logString

protected void logString(int severity,
                         java.lang.String msg)
Log msg with specified severity, if severity is less or equal to current log level


logThrowable

protected void logThrowable(java.lang.Throwable t)

logThrowable

protected void logThrowable(java.lang.String msg,
                            java.lang.Throwable t)

pushNDC

protected void pushNDC()
                throws java.lang.Exception

popNDC

protected void popNDC()
               throws java.lang.Exception