class TestAppender extends AppenderBase[ILoggingEvent]
A custom appender for Logback that captures the events.
The test suite can use this to make sure all log events are recorded as expected.
- Source
- TestAppender.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TestAppender
- AppenderBase
- Appender
- FilterAttachable
- LifeCycle
- ContextAwareBase
- ContextAware
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new TestAppender()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from TestAppender to any2stringadd[TestAppender] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (TestAppender, B)
- Implicit
- This member is added by an implicit conversion from TestAppender to ArrowAssoc[TestAppender] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
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
addFilter(arg0: Filter[ILoggingEvent]): Unit
- Definition Classes
- AppenderBase → FilterAttachable
-
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
-
def
append(event: ILoggingEvent): Unit
- Definition Classes
- TestAppender → AppenderBase
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clearAllFilters(): Unit
- Definition Classes
- AppenderBase → FilterAttachable
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
doAppend(arg0: ILoggingEvent): Unit
- Definition Classes
- AppenderBase → Appender
-
def
ensuring(cond: (TestAppender) ⇒ Boolean, msg: ⇒ Any): TestAppender
- Implicit
- This member is added by an implicit conversion from TestAppender to Ensuring[TestAppender] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (TestAppender) ⇒ Boolean): TestAppender
- Implicit
- This member is added by an implicit conversion from TestAppender to Ensuring[TestAppender] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): TestAppender
- Implicit
- This member is added by an implicit conversion from TestAppender to Ensuring[TestAppender] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): TestAppender
- Implicit
- This member is added by an implicit conversion from TestAppender to Ensuring[TestAppender] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from TestAppender to StringFormat[TestAppender] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getContext(): Context
- Definition Classes
- ContextAwareBase → ContextAware
-
def
getCopyOfAttachedFiltersList(): List[Filter[ILoggingEvent]]
- Definition Classes
- AppenderBase → FilterAttachable
-
def
getDeclaredOrigin(): AnyRef
- Attributes
- protected[spi]
- Definition Classes
- ContextAwareBase
-
def
getFilterChainDecision(arg0: ILoggingEvent): FilterReply
- Definition Classes
- AppenderBase → FilterAttachable
-
def
getName(): String
- Definition Classes
- AppenderBase → Appender
-
def
getStatusManager(): StatusManager
- Definition Classes
- ContextAwareBase
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isStarted(): Boolean
- Definition Classes
- AppenderBase → LifeCycle
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
setContext(arg0: Context): Unit
- Definition Classes
- ContextAwareBase → ContextAware
-
def
setName(arg0: String): Unit
- Definition Classes
- AppenderBase → Appender
-
def
start(): Unit
- Definition Classes
- TestAppender → AppenderBase → LifeCycle
-
def
stop(): Unit
- Definition Classes
- TestAppender → AppenderBase → LifeCycle
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AppenderBase → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
→[B](y: B): (TestAppender, B)
- Implicit
- This member is added by an implicit conversion from TestAppender to ArrowAssoc[TestAppender] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc