org.jboss.resteasy.core
Class LoggerCategories

java.lang.Object
  extended by org.jboss.resteasy.core.LoggerCategories

public final class LoggerCategories
extends java.lang.Object

Contains the logging categories used by the RESTEasy.

Version:
$Revision: 1.1 $
Author:
Ryan J. McDonough

Field Summary
static java.lang.String CORE
          A logging category used by the core classes of RESTEasy.
static java.lang.String DELEGATES
          A logging category used by RESTEasy delegates.
static java.lang.String IMPL
          A logging category used by the classes which implement the JAX-RS spec.
static java.lang.String MOCK
          A logging category used by the mock-related classes.
static java.lang.String PROVIDER
          A logging category used by entity providers.
static java.lang.String SERVER
          A logging category used by the server-related classes.
 
Method Summary
static org.slf4j.Logger getCoreLogger()
          Returns the Logger instance that is associated with the "core" category.
static org.slf4j.Logger getDelegatesLogger()
          Returns the Logger instance that is associated with the "delegates" category.
static org.slf4j.Logger getLogger(java.lang.Class<?> clazz)
          FIXME Comment this
static org.slf4j.Logger getLogger(java.lang.String name)
          Returns the logger for the specified logger name.
static org.slf4j.Logger getMockLogger()
          Returns the Logger instance that is associated with the "mock" category.
static org.slf4j.Logger getProviderLogger()
          Returns the Logger instance that is associated with the "provider" category.
static org.slf4j.Logger getServerLogger()
          Returns the Logger instance that is associated with the "server" category.
static org.slf4j.Logger getSpecImplLogger()
          Returns the Logger instance that is associated with the "specimpl" category.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROVIDER

public static final java.lang.String PROVIDER
A logging category used by entity providers.

See Also:
Constant Field Values

SERVER

public static final java.lang.String SERVER
A logging category used by the server-related classes.

See Also:
Constant Field Values

MOCK

public static final java.lang.String MOCK
A logging category used by the mock-related classes.

See Also:
Constant Field Values

CORE

public static final java.lang.String CORE
A logging category used by the core classes of RESTEasy.

See Also:
Constant Field Values

IMPL

public static final java.lang.String IMPL
A logging category used by the classes which implement the JAX-RS spec.

See Also:
Constant Field Values

DELEGATES

public static final java.lang.String DELEGATES
A logging category used by RESTEasy delegates.

See Also:
Constant Field Values
Method Detail

getLogger

public static org.slf4j.Logger getLogger(java.lang.String name)
Returns the logger for the specified logger name.

Parameters:
name - the logger name
Returns:
the logger.

getLogger

public static org.slf4j.Logger getLogger(java.lang.Class<?> clazz)
FIXME Comment this

Parameters:
clazz -
Returns:

getProviderLogger

public static org.slf4j.Logger getProviderLogger()
Returns the Logger instance that is associated with the "provider" category.

Returns:

getCoreLogger

public static org.slf4j.Logger getCoreLogger()
Returns the Logger instance that is associated with the "core" category.

Returns:

getMockLogger

public static org.slf4j.Logger getMockLogger()
Returns the Logger instance that is associated with the "mock" category.

Returns:

getServerLogger

public static org.slf4j.Logger getServerLogger()
Returns the Logger instance that is associated with the "server" category.

Returns:

getSpecImplLogger

public static org.slf4j.Logger getSpecImplLogger()
Returns the Logger instance that is associated with the "specimpl" category.

Returns:

getDelegatesLogger

public static org.slf4j.Logger getDelegatesLogger()
Returns the Logger instance that is associated with the "delegates" category.

Returns:


Copyright © 2010. All Rights Reserved.