Package ch.qos.logback.core.spi
Interface ContextAware
- All Known Subinterfaces:
Appender<E>,ArchiveRemover,Configurator,Encoder<E>,EventEvaluator<E>,Layout<E>,LoggerContextAware,PropertyDefiner,SequenceNumberGenerator,ServerRunner<T>,ShutdownHook,TimeBasedFileNamingAndTriggeringPolicy<E>
- All Known Implementing Classes:
AbstractDiscriminator,AbstractMatcherFilter,AbstractServerSocketAppender,AbstractSocketAppender,AbstractSSLSocketAppender,AccessConverter,AccessEvaluatorAction,AccessEventDiscriminator,Action,AppenderAction,AppenderBase,AppenderModelHandler,AppenderRefAction,AppenderRefDependencyAnalyser,AppenderRefModelHandler,AsyncAppender,AsyncAppenderBase,BaseModelAction,BasicConfigurator,BasicSequenceNumberGenerator,BeanDescriptionCache,BeanDescriptionFactory,BlackCompositeConverter,BlueCompositeConverter,BoldBlueCompositeConverter,BoldCyanCompositeConverter,BoldGreenCompositeConverter,BoldMagentaCompositeConverter,BoldRedCompositeConverter,BoldWhiteCompositeConverter,BoldYellowCompositeConverter,CallerDataConverter,CanonicalHostNamePropertyDefiner,ClassicConverter,ClassicEvaluatorAction,ClassOfCallerConverter,CompositeConverter,Compressor,ConcurrentServerRunner,ConfigurationAction,ConfigurationAction,ConfigurationModelHandler,ConfigurationModelHandler,ConfigurationWatchList,ConsoleAppender,ConsolePluginAction,ContentLengthConverter,ContextAwareBase,ContextAwareImpl,ContextBasedDiscriminator,ContextNameAction,ContextNameConverter,ContextNameModelHandler,ContextPropertyAction,ContextUtil,ConversionRuleAction,CounterBasedEvaluator,CountingConsoleAppender,CountingFilter,CyanCompositeConverter,CyclicBufferAppender,DateConverter,DateConverter,DateTokenConverter,DefaultDiscriminator,DefaultJoranConfigurator,DefaultProcessor,DefaultShutdownHook,DefaultTimeBasedFileNamingAndTriggeringPolicy,DefineModelHandler,DefinePropertyAction,DuplicateMessageFilter,DynamicConverter,DynamicThresholdFilter,EchoEncoder,EchoLayout,ElapsedSecondsConverter,ElapsedTimeConverter,ElseAction,ElseModelHandler,EncoderBase,EvaluatorFilter,EventEvaluatorAction,EventEvaluatorBase,EventEvaluatorModelHandler,ExtendedThrowableProxyConverter,FileAppender,FileExistsPropertyDefiner,FileNamePattern,FileOfCallerConverter,FileUtil,Filter,FixedWindowRollingPolicy,ForegroundCompositeConverterBase,FullRequestConverter,FullResponseConverter,GenericXMLConfigurator,GrayCompositeConverter,GreenCompositeConverter,HighlightingCompositeConverter,HTMLLayout,HTMLLayout,HTMLLayoutBase,IdentityCompositeConverter,IfAction,IfModelHandler,ImplicitModelAction,ImplicitModelHandler,ImportAction,ImportModelHandler,IncludeAction,InsertFromJNDIAction,InsertFromJNDIModelHandler,IntegerTokenConverter,InterruptUtil,JaninoEventEvaluator,JaninoEventEvaluator,JaninoEventEvaluatorBase,JNDIBasedContextDiscriminator,JoranConfigurator,JoranConfigurator,JoranConfiguratorBase,KeyValuePairConverter,LayoutBase,LayoutWrappingEncoder,LevelAction,LevelChangePropagator,LevelConverter,LevelFilter,LevelModelHandler,LineOfCallerConverter,LineSeparatorConverter,LineSeparatorConverter,ListAppender,LocalIPAddressConverter,LocalPortConverter,LocalSequenceNumberConverter,LoggerAction,LoggerContextAwareBase,LoggerContextListenerAction,LoggerContextListenerModelHandler,LoggerConverter,LoggerModelHandler,MagentaCompositeConverter,MarkerConverter,MarkerFilter,Matcher,MatchingFilter,MDCBasedDiscriminator,MDCConverter,MDCFilter,MessageConverter,MethodOfCallerConverter,MicrosecondConverter,ModelHandlerBase,ModelInterpretationContext,MySampleConverter,MySampleLayout,MySampleLayout2,NAConverter,NamedConverter,NetworkAddressUtil,NewRuleAction,NOPAction,NOPAppender,NOPModelHandler,NOPSiftModelHandler,NopThrowableInformationConverter,OnConsoleStatusListener,OnErrorConsoleStatusListener,OnErrorEvaluator,OnFileStatusListener,OnMarkerEvaluator,OnPrintStreamStatusListenerBase,OutputStreamAppender,ParamAction,ParamModelHandler,Parser,PatternLayout,PatternLayout,PatternLayoutBase,PatternLayoutEncoder,PatternLayoutEncoder,PatternLayoutEncoderBase,PreconditionValidator,PrefixCompositeConverter,PropertyAction,PropertyConverter,PropertyDefinerBase,PropertyEvalScriptBuilder,PropertyModelHandler,PropertySetter,QueryStringConverter,ReceiverAction,ReceiverBase,ReceiverModelHandler,ReconfigureOnChangeFilter,ReconfigureOnChangeTask,RedCompositeConverter,RefContainerDependencyAnalyser,RelativeTimeConverter,RemoteHostConverter,RemoteIPAddressConverter,RemoteUserConverter,RenameUtil,ReplacingCompositeConverter,RequestAttributeConverter,RequestContentConverter,RequestCookieConverter,RequestHeaderConverter,RequestMethodConverter,RequestParameterConverter,RequestProtocolConverter,RequestURIConverter,RequestURLConverter,ResourceExistsPropertyDefiner,ResponseContentConverter,ResponseHeaderConverter,RollingFileAppender,RollingPolicyBase,RootCauseFirstThrowableProxyConverter,RootLoggerAction,RootLoggerModelHandler,SampleFilter,SampleTurboFilter,SaxEventInterpretationContext,SaxEventRecorder,SequenceNumberConverter,SequenceNumberGeneratorAction,SequenceNumberGeneratorModelHandler,ServerNameConverter,ServerSocketAppender,ServerSocketAppender,ServerSocketReceiver,SessionIDConverter,ShutdownHookAction,ShutdownHookBase,ShutdownHookModelHandler,SiftAction,SiftingAppender,SiftingAppender,SiftingAppenderBase,SiftModelHandler,SiftProcessor,SimpleRuleStore,SizeAndTimeBasedArchiveRemover,SizeAndTimeBasedFNATP,SizeAndTimeBasedRollingPolicy,SizeBasedTriggeringPolicy,SMTPAppender,SMTPAppender,SMTPAppenderBase,SocketAppender,SocketAppender,SocketReceiver,SSLParametersConfiguration,SSLServerSocketAppender,SSLServerSocketAppender,SSLServerSocketAppenderBase,SSLServerSocketReceiver,SSLSocketAppender,SSLSocketAppender,SSLSocketReceiver,StatusCodeConverter,StatusListenerAction,StatusListenerModelHandler,StaxEventRecorder,SyslogAppender,SyslogAppenderBase,SyslogStartConverter,ThenAction,ThenModelHandler,ThreadConverter,ThreadNameConverter,ThresholdFilter,ThrowableHandlingConverter,ThrowableProxyConverter,TimeBasedArchiveRemover,TimeBasedFileNamingAndTriggeringPolicyBase,TimeBasedRollingPolicy,TimestampAction,TimestampModelHandler,TriggeringPolicyBase,TrivialLogbackAppender,TrivialLogbackLayout,TTLLLayout,TurboFilter,UnsynchronizedAppenderBase,URLEvaluator,WhiteCompositeConverter,WithLayoutListAppender,XMLLayout,YellowCompositeConverter
public interface ContextAware
An object which has a context and add methods for updating internal status
messages.
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidsetContext(Context context)
-
Method Details
-
setContext
-
getContext
-
addStatus
-
addInfo
-
addInfo
-
addWarn
-
addWarn
-
addError
-
addError
-