sbt

BufferedLogger

class BufferedLogger extends BasicLogger

A logger that can buffer the logging done on it and then can flush the buffer to the delegate logger provided in the constructor. Use 'startRecording' to start buffering and then 'play' from to flush the buffer to the backing logger. The logging level set at the time a message is originally logged is used, not the level at the time 'play' is called.

This class assumes that it is the only client of the delegate logger.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BufferedLogger
  2. BasicLogger
  3. AbstractLogger
  4. Logger
  5. Logger
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BufferedLogger(delegate: AbstractLogger)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def ansiCodesSupported: Boolean

    Definition Classes
    BufferedLoggerLogger
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def atLevel(level: Level.Value): Boolean

    Definition Classes
    AbstractLogger
  9. def buffer[T](f: ⇒ T): T

  10. def bufferQuietly[T](f: ⇒ T): T

  11. def clear(): Unit

    Clears buffered events and disables buffering.

  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def control(event: ControlEvent.Value, message: ⇒ String): Unit

    Definition Classes
    BufferedLoggerAbstractLogger
  14. def debug(msg: F0[String]): Unit

    Definition Classes
    LoggerLogger
  15. final def debug(message: ⇒ String): Unit

    Definition Classes
    Logger
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def error(msg: F0[String]): Unit

    Definition Classes
    LoggerLogger
  19. final def error(message: ⇒ String): Unit

    Definition Classes
    Logger
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def getLevel: Level.Value

    Definition Classes
    BasicLoggerAbstractLogger
  23. def getTrace: Int

    Definition Classes
    BasicLoggerAbstractLogger
  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  25. def info(msg: F0[String]): Unit

    Definition Classes
    LoggerLogger
  26. final def info(message: ⇒ String): Unit

    Definition Classes
    Logger
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def log(level: Level.Value, message: ⇒ String): Unit

    Definition Classes
    BufferedLoggerLogger
  29. final def log(event: LogEvent): Unit

    Defined in terms of other methods in Logger and should not be called from them.

    Defined in terms of other methods in Logger and should not be called from them.

    Definition Classes
    AbstractLogger
  30. def log(level: Level.Value, msg: F0[String]): Unit

    Definition Classes
    Logger
  31. def logAll(events: Seq[LogEvent]): Unit

    Definition Classes
    BufferedLoggerAbstractLogger
  32. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  35. def play(): Unit

    Flushes the buffer to the delegate logger.

    Flushes the buffer to the delegate logger. This method calls logAll on the delegate so that the messages are written consecutively. The buffer is cleared in the process.

  36. def record(): Unit

    Enables buffering.

  37. def setLevel(newLevel: Level.Value): Unit

    Definition Classes
    BufferedLoggerBasicLoggerAbstractLogger
  38. def setSuccessEnabled(flag: Boolean): Unit

    Definition Classes
    BufferedLoggerBasicLoggerAbstractLogger
  39. def setTrace(level: Int): Unit

    Definition Classes
    BufferedLoggerBasicLoggerAbstractLogger
  40. def stop(): Unit

    Plays buffered events and disables buffering.

  41. def stopQuietly(): Unit

  42. def success(message: ⇒ String): Unit

    Definition Classes
    BufferedLoggerLogger
  43. def successEnabled: Boolean

    Definition Classes
    BasicLoggerAbstractLogger
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  45. def toString(): String

    Definition Classes
    AnyRef → Any
  46. def trace(t: ⇒ Throwable): Unit

    Definition Classes
    BufferedLoggerLogger
  47. def trace(msg: F0[Throwable]): Unit

    Definition Classes
    LoggerLogger
  48. final def traceEnabled: Boolean

    Definition Classes
    AbstractLogger
  49. final def verbose(message: ⇒ String): Unit

    Definition Classes
    Logger
  50. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. def warn(msg: F0[String]): Unit

    Definition Classes
    LoggerLogger
  54. final def warn(message: ⇒ String): Unit

    Definition Classes
    Logger

Inherited from BasicLogger

Inherited from AbstractLogger

Inherited from Logger

Inherited from xsbti.Logger

Inherited from AnyRef

Inherited from Any

Ungrouped