org.ujorm.logger
Class UjoLoggerFactory

java.lang.Object
  extended by org.ujorm.logger.UjoLoggerFactory
All Implemented Interfaces:
UjoLogger

public final class UjoLoggerFactory
extends java.lang.Object
implements UjoLogger

Bridge to logging framework JSF4J.

Author:
Ponec

Constructor Summary
UjoLoggerFactory(java.lang.Class name)
          Konstructor
 
Method Summary
static UjoLogger getLogger(java.lang.Class<?> name)
           
 boolean isLoggable(java.util.logging.Level level)
          
 void log(java.util.logging.Level level, java.lang.String message)
          
 void log(java.util.logging.Level level, java.lang.String message, java.lang.Object... parameters)
          
 void log(java.util.logging.Level level, java.lang.String message, java.lang.Throwable e)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UjoLoggerFactory

public UjoLoggerFactory(java.lang.Class name)
Konstructor

Method Detail

isLoggable

public boolean isLoggable(java.util.logging.Level level)

Specified by:
isLoggable in interface UjoLogger
Returns:
true if the given message level is currently being logged.

log

public void log(java.util.logging.Level level,
                java.lang.String message)

Specified by:
log in interface UjoLogger
Parameters:
level - One of the message level identifiers, e.g. SEVERE

log

public void log(java.util.logging.Level level,
                java.lang.String message,
                java.lang.Throwable e)

Specified by:
log in interface UjoLogger
Parameters:
level - One of the message level identifiers, e.g. SEVERE

log

public void log(java.util.logging.Level level,
                java.lang.String message,
                java.lang.Object... parameters)

Specified by:
log in interface UjoLogger

getLogger

public static UjoLogger getLogger(java.lang.Class<?> name)


Copyright © 2007-2012 PPonec