Class UuidProvider
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
net.logstash.logback.composite.AbstractJsonProvider<Event>
net.logstash.logback.composite.AbstractFieldJsonProvider<Event>
net.logstash.logback.composite.UuidJsonProvider<ILoggingEvent>
net.logstash.logback.composite.loggingevent.UuidProvider
- All Implemented Interfaces:
ContextAware
,JsonProvider<ILoggingEvent>
Deprecated.
Outputs random UUID as field value.
Handy when you want to provide unique identifier for log lines.
-
Field Summary
Fields inherited from class net.logstash.logback.composite.UuidJsonProvider
FIELD_UUID, STRATEGY_RANDOM, STRATEGY_TIME
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
start()
Deprecated.Start the provider after all configuration properties are set.Methods inherited from class net.logstash.logback.composite.UuidJsonProvider
getEthernet, getStrategy, setEthernet, setStrategy, writeTo
Methods inherited from class net.logstash.logback.composite.AbstractFieldJsonProvider
getFieldName, setFieldName
Methods inherited from class net.logstash.logback.composite.AbstractJsonProvider
assertIsStarted, isStarted, prepareForDeferredProcessing, stop
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Constructor Details
-
UuidProvider
public UuidProvider()Deprecated.
-
-
Method Details
-
start
public void start()Deprecated.Description copied from interface:JsonProvider
Start the provider after all configuration properties are set.- Specified by:
start
in interfaceJsonProvider<ILoggingEvent>
- Overrides:
start
in classAbstractJsonProvider<ILoggingEvent>
-
UuidJsonProvider
instead.