org.pfsw.logbind.jbl
Class JBossLoggerFactory
java.lang.Object
org.pfsw.logbind.jbl.JBossLoggerFactory
- All Implemented Interfaces:
- org.pfsw.logging.LoggerFactory
public class JBossLoggerFactory
- extends java.lang.Object
- implements org.pfsw.logging.LoggerFactory
This factory can be registered with the PF logging framework to support
binding of all PF logging output to JBoss Logging (JBL) loggers.
In order to activate the binding, this library must be on the classpath
and system property org.pfsw.logging.binding=JBL set.
Method Summary |
org.pfsw.logging.Logger |
createLogger()
|
org.pfsw.logging.Logger |
getLogger(java.lang.Class<?> clazz)
|
org.pfsw.logging.Logger |
getLogger(java.lang.String loggerName)
|
java.lang.String |
getName()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBossLoggerFactory
public JBossLoggerFactory()
getName
public java.lang.String getName()
- Specified by:
getName
in interface org.pfsw.logging.LoggerFactory
createLogger
public org.pfsw.logging.Logger createLogger()
- Specified by:
createLogger
in interface org.pfsw.logging.LoggerFactory
getLogger
public org.pfsw.logging.Logger getLogger(java.lang.Class<?> clazz)
- Specified by:
getLogger
in interface org.pfsw.logging.LoggerFactory
getLogger
public org.pfsw.logging.Logger getLogger(java.lang.String loggerName)
- Specified by:
getLogger
in interface org.pfsw.logging.LoggerFactory