com.sun.enterprise.registration.impl
Class RegistrationLogger

java.lang.Object
  extended by com.sun.enterprise.registration.impl.RegistrationLogger

public class RegistrationLogger
extends java.lang.Object

Provides access to a logger for registration. Uses the logger name com.sun.enterprise.registration.

The system property com.sun.enterprise.registration.logging.level can be set to any legal logging level value and that will be used as the initial level for the logger.


Method Summary
static java.util.logging.Logger getLogger()
          Returns the logger to be used for logging registration-related messages.
static void setLogger(java.util.logging.Logger logger)
          Overrides the default logger with one of the caller's choosing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLogger

public static java.util.logging.Logger getLogger()
Returns the logger to be used for logging registration-related messages.


setLogger

public static void setLogger(java.util.logging.Logger logger)
Overrides the default logger with one of the caller's choosing.

Parameters:
logger - the Logger to use in place of the default one


Copyright © 2012 GlassFish Community. All Rights Reserved.