org.jboss.seam.log
Class Logging

java.lang.Object
  extended by org.jboss.seam.log.Logging

public class Logging
extends Object

Factory for Seam Logs and LogProviders. If log4j exists in the classpath, the LogProvider will be log4j. Otherwise, it will be JDK logging.

Author:
Gavin King

Constructor Summary
Logging()
           
 
Method Summary
static Log getLog(Class clazz)
           
static Log getLog(String category)
           
static LogProvider getLogProvider(Class clazz)
           
static LogProvider getLogProvider(String category, boolean wrapped)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Logging

public Logging()
Method Detail

getLog

public static Log getLog(String category)

getLog

public static Log getLog(Class clazz)

getLogProvider

public static LogProvider getLogProvider(String category,
                                         boolean wrapped)

getLogProvider

public static LogProvider getLogProvider(Class clazz)


Copyright © 2011 Seam Framework. All Rights Reserved.