class VerbosityFilter extends Filter[ILoggingEvent]
Decide whether a logging event should be performed or not based on the user-selected verbosity when run through the CLI
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- VerbosityFilter
- Filter
- LifeCycle
- ContextAwareBase
- ContextAware
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new VerbosityFilter()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addError(arg0: String, arg1: Throwable): Unit
- Definition Classes
- ContextAwareBase → ContextAware
- def addError(arg0: String): Unit
- Definition Classes
- ContextAwareBase → ContextAware
- def addInfo(arg0: String, arg1: Throwable): Unit
- Definition Classes
- ContextAwareBase → ContextAware
- def addInfo(arg0: String): Unit
- Definition Classes
- ContextAwareBase → ContextAware
- def addStatus(arg0: Status): Unit
- Definition Classes
- ContextAwareBase → ContextAware
- def addWarn(arg0: String, arg1: Throwable): Unit
- Definition Classes
- ContextAwareBase → ContextAware
- def addWarn(arg0: String): Unit
- Definition Classes
- ContextAwareBase → ContextAware
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def decide(event: ILoggingEvent): FilterReply
Decide whether a logging event should be performed or not based on user preferences
Decide whether a logging event should be performed or not based on user preferences
- event
Input logging event
- returns
Accept the logging request if it does comply with the user verbosity level, else deny
- Definition Classes
- VerbosityFilter → Filter
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getContext(): Context
- Definition Classes
- ContextAwareBase → ContextAware
- def getDeclaredOrigin(): AnyRef
- Attributes
- protected[spi]
- Definition Classes
- ContextAwareBase
- def getName(): String
- Definition Classes
- Filter
- def getStatusManager(): StatusManager
- Definition Classes
- ContextAwareBase
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isStarted(): Boolean
- Definition Classes
- Filter → LifeCycle
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def setContext(arg0: Context): Unit
- Definition Classes
- ContextAwareBase → ContextAware
- def setName(arg0: String): Unit
- Definition Classes
- Filter
- def start(): Unit
- Definition Classes
- Filter → LifeCycle
- def stop(): Unit
- Definition Classes
- Filter → LifeCycle
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- lazy val userVerbosity: Level
Represents the user selected verbosity of the app, used to filter console log output.
Represents the user selected verbosity of the app, used to filter console log output. It is retrieved from a custom System property.
- Note
Use lazy to delay the property computation until it is set and needed
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated