com.orderlysoftware.orderlycalls.base
Class ServiceLogger
java.lang.Object
java.util.logging.Logger
com.orderlysoftware.orderlycalls.base.ServiceLogger
public class ServiceLogger
- extends java.util.logging.Logger
A thin wrapper around the Logger
object to give
named entries in the log file for services.
- Author:
- Matt King, M.A. Oxon.
Fields inherited from class java.util.logging.Logger |
global |
Methods inherited from class java.util.logging.Logger |
config, entering, entering, entering, exiting, exiting, fine, finer, finest, info, log, log, log, log, logp, logp, logp, logp, logrb, logrb, logrb, logrb, severe, throwing, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceLogger
public ServiceLogger(java.util.logging.Logger log)
addHandler
public void addHandler(java.util.logging.Handler handler)
- Overrides:
addHandler
in class java.util.logging.Logger
setPrefix
public ServiceLogger setPrefix(java.lang.String prefix)
getAnonymousLogger
public static java.util.logging.Logger getAnonymousLogger()
getAnonymousLogger
public static java.util.logging.Logger getAnonymousLogger(java.lang.String resourceBundleName)
getFilter
public java.util.logging.Filter getFilter()
- Overrides:
getFilter
in class java.util.logging.Logger
getHandlers
public java.util.logging.Handler[] getHandlers()
- Overrides:
getHandlers
in class java.util.logging.Logger
getLevel
public java.util.logging.Level getLevel()
- Overrides:
getLevel
in class java.util.logging.Logger
getLogger
public static java.util.logging.Logger getLogger(java.lang.String name)
getLogger
public static java.util.logging.Logger getLogger(java.lang.String name,
java.lang.String resourceBundleName)
getName
public java.lang.String getName()
- Overrides:
getName
in class java.util.logging.Logger
getParent
public java.util.logging.Logger getParent()
- Overrides:
getParent
in class java.util.logging.Logger
getResourceBundle
public java.util.ResourceBundle getResourceBundle()
- Overrides:
getResourceBundle
in class java.util.logging.Logger
getResourceBundleName
public java.lang.String getResourceBundleName()
- Overrides:
getResourceBundleName
in class java.util.logging.Logger
getUseParentHandlers
public boolean getUseParentHandlers()
- Overrides:
getUseParentHandlers
in class java.util.logging.Logger
isLoggable
public boolean isLoggable(java.util.logging.Level level)
- Overrides:
isLoggable
in class java.util.logging.Logger
log
public void log(java.util.logging.LogRecord record)
- Overrides:
log
in class java.util.logging.Logger
removeHandler
public void removeHandler(java.util.logging.Handler handler)
- Overrides:
removeHandler
in class java.util.logging.Logger
setFilter
public void setFilter(java.util.logging.Filter newFilter)
- Overrides:
setFilter
in class java.util.logging.Logger
setLevel
public void setLevel(java.util.logging.Level newLevel)
- Overrides:
setLevel
in class java.util.logging.Logger
setParent
public void setParent(java.util.logging.Logger parent)
- Overrides:
setParent
in class java.util.logging.Logger
setUseParentHandlers
public void setUseParentHandlers(boolean useParentHandlers)
- Overrides:
setUseParentHandlers
in class java.util.logging.Logger