Package gda.util.logging
Class JvmNamePropertyDefiner
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.PropertyDefinerBase
gda.util.logging.JvmNamePropertyDefiner
- All Implemented Interfaces:
ch.qos.logback.core.spi.ContextAware,ch.qos.logback.core.spi.PropertyDefiner
public class JvmNamePropertyDefiner
extends ch.qos.logback.core.PropertyDefinerBase
A Logback PropertyDefiner that returns the JVM name, as reported by
RuntimeMXBean.getName().
On Linux this is "<pid>@<hostname>", but could change in the future.
-
Field Summary
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ch.qos.logback.core.PropertyDefinerBase
booleanAsStrMethods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Constructor Details
-
JvmNamePropertyDefiner
public JvmNamePropertyDefiner()
-
-
Method Details
-
getPropertyValue
-