Class UuidProvider
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
net.logstash.logback.composite.AbstractJsonProvider<ILoggingEvent>
net.logstash.logback.composite.AbstractFieldJsonProvider<ILoggingEvent>
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 UuidJsonProvider
FIELD_UUID, STRATEGY_RANDOM, STRATEGY_TIMEFields inherited from class ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstart()Deprecated.Start the provider after all configuration properties are set.Methods inherited from class UuidJsonProvider
getEthernet, getStrategy, setEthernet, setStrategy, writeToMethods inherited from class AbstractFieldJsonProvider
getFieldName, setFieldNameMethods inherited from class AbstractJsonProvider
assertIsStarted, isStarted, prepareForDeferredProcessing, stopMethods inherited from class ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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.