Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.joone.log
Class Log4JLogger

    java.lang.Object
      org.joone.log.Log4JLogger

All Implemented Interfaces:
  ILogger

    public class Log4JLogger

extends java.lang.Object
implements ILogger

Logger that uses Apache's Log4J to log the messages. Use it by declaring the property -Dorg.joone.logger="org.joone.log.JooneLogger"

Author:
  PMLMAPA

Constructor Summary
`Log4JLogger()` Creates a new instance of Log4JLogger

Method Summary
`void` | `debug(java.lang.Object obj)`
`void` | `debug(java.lang.Object obj, java.lang.Throwable thr)`
`void` | `error(java.lang.Object obj)`
`void` | `error(java.lang.Object obj, java.lang.Throwable thr)`
`void` | `fatal(java.lang.Object obj)`
`void` | `fatal(java.lang.Object obj, java.lang.Throwable thr)`
`void` | `info(java.lang.Object obj)`
`void` | `info(java.lang.Object obj, java.lang.Throwable thr)`
`void` | `setParentClass(java.lang.Class cls)`
`void` | `warn(java.lang.Object obj)`
`void` | `warn(java.lang.Object obj, java.lang.Throwable thr)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Log4JLogger

    public Log4JLogger()

  Creates a new instance of Log4JLogger

Method Detail

### debug

    public void debug(java.lang.Object obj)

  Specified by:
    `debug` in interface `ILogger`

### debug

    public void debug(java.lang.Object obj,
                      java.lang.Throwable thr)

  Specified by:
    `debug` in interface `ILogger`

### error

    public void error(java.lang.Object obj)

  Specified by:
    `error` in interface `ILogger`

### error

    public void error(java.lang.Object obj,
                      java.lang.Throwable thr)

  Specified by:
    `error` in interface `ILogger`

### fatal

    public void fatal(java.lang.Object obj)

  Specified by:
    `fatal` in interface `ILogger`

### fatal

    public void fatal(java.lang.Object obj,
                      java.lang.Throwable thr)

  Specified by:
    `fatal` in interface `ILogger`

### info

    public void info(java.lang.Object obj)

  Specified by:
    `info` in interface `ILogger`

### info

    public void info(java.lang.Object obj,
                     java.lang.Throwable thr)

  Specified by:
    `info` in interface `ILogger`

### warn

    public void warn(java.lang.Object obj)

  Specified by:
    `warn` in interface `ILogger`

### warn

    public void warn(java.lang.Object obj,
                     java.lang.Throwable thr)

  Specified by:
    `warn` in interface `ILogger`

### setParentClass

    public void setParentClass(java.lang.Class cls)

  Specified by:
    `setParentClass` in interface `ILogger`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit Feedback to pmarrone@users.sourceforge.net