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_TIMEFields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstart()Deprecated.Start the provider after all configuration properties are set.Methods inherited from class net.logstash.logback.composite.UuidJsonProvider
getEthernet, getStrategy, setEthernet, setStrategy, writeToMethods inherited from class net.logstash.logback.composite.AbstractFieldJsonProvider
getFieldName, setFieldNameMethods inherited from class net.logstash.logback.composite.AbstractJsonProvider
assertIsStarted, isStarted, prepareForDeferredProcessing, stopMethods 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
-
UuidProvider
public UuidProvider()Deprecated.
-
-
Method Details
-
start
public void start()Deprecated.Description copied from interface:JsonProviderStart the provider after all configuration properties are set.- Specified by:
startin interfaceJsonProvider<ILoggingEvent>- Overrides:
startin classAbstractJsonProvider<ILoggingEvent>
-
UuidJsonProviderinstead.