Object/Trait

com.reactific.helpers

LoggingHelper

Related Docs: trait LoggingHelper | package helpers

Permalink

object LoggingHelper extends LoggingHelper

Log File Related Helpers

This object just provides a variety of utilities for manipulating LogBack programatically.

Linear Supertypes
LoggingHelper, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LoggingHelper
  2. LoggingHelper
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class ScalaLoggerExtension extends AnyRef

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. val FILE_APPENDER_NAME: String

    Permalink
  5. val PAGE_APPENDER_NAME: String

    Permalink
  6. val STDOUT_APPENDER_NAME: String

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def configureLogger(logger: Logger): Unit

    Permalink

    Set the logger's level per requested patterns

  10. def convertRecentEventsToHtml(): String

    Permalink
  11. def createLoggerName: String

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingHelper
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def findLogger(name: String): Option[Logger]

    Permalink
  16. def findLoggers(pattern: String): Seq[Logger]

    Permalink

    Find loggers matching a pattern

    Find loggers matching a pattern

    pattern

    A Scala regular expression string for the names of the loggers to match

    returns

    A sequence of the matching loggers

  17. def forgetLoggingLevels(): Unit

    Permalink

    Clear the remembered patterns Patterns set with the forFuture flag set to true are remembers for subsequent loggers.

    Clear the remembered patterns Patterns set with the forFuture flag set to true are remembers for subsequent loggers. This call causes all such remembered patterns to be forgotten. No existing loggers are affected.

  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getLoggingConfig: List[(String, String)]

    Permalink
  20. def getLoggingLevel(name: String): Level

    Permalink
  21. def getLoggingTableData: (Iterable[String], Iterable[Iterable[String]])

    Permalink
  22. def hasAppenders(logger: Logger): Boolean

    Permalink

    Determine if a logger has an appender or not

    Determine if a logger has an appender or not

    logger

    The logger to check

    returns

    true iff the logger has an appender

  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def level: Level

    Permalink
    Definition Classes
    LoggingHelper
  26. val levelPatterns: Map[Regex, Level]

    Permalink
  27. lazy val log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingHelper
  28. def loggerName: String

    Permalink
    Definition Classes
    LoggingHelper
  29. def makeRollingFileAppender(file: File, maxFiles: Int, maxFileSizeInMB: Int, immediateFlush: Boolean, name: String): RollingFileAppender[ILoggingEvent]

    Permalink
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. var pageAppender: Option[CyclicBufferAppender[ILoggingEvent]]

    Permalink
  34. def removeAppender(name: String): Unit

    Permalink
  35. val rootLogger: Logger

    Permalink

    Easy access to the root logger

  36. def rootLoggerContext: Option[LoggerContext]

    Permalink

    Easy access to the logger context

  37. def setFileAppender(file: File, maxFiles: Int, maxFileSizeInMB: Int, immediateFlush: Boolean, name: String = FILE_APPENDER_NAME): Option[RollingFileAppender[ILoggingEvent]]

    Permalink
  38. def setLoggingLevel(regex: String, level: Level, forFuture: Boolean = false): Seq[String]

    Permalink

    Set Logging Level Generically.

    Set Logging Level Generically. This function sets the logging level for any pkg that matches a regular expression. This allows a variety of loggers to be set without knowing their full names explicitly.

    regex

    A Scala regular expression string for the names of the loggers to match

    level

    The level you want any matching loggers to be set to.

    forFuture

    When true, the regex is saved and applied to future instantiations of loggers, too.

    returns

    A list of the names of the loggers whose levels were set

  39. def setPageAppender(maxSize: Int, name: String = PAGE_APPENDER_NAME): Unit

    Permalink
  40. def setStdOutAppender(name: String = STDOUT_APPENDER_NAME): Try[ConsoleAppender[ILoggingEvent]]

    Permalink
  41. def setToDebug(pkg: String): Seq[String]

    Permalink
  42. def setToDebug(component: LoggingHelper): Seq[String]

    Permalink

    Set a component to WARN logging level

  43. def setToError(pkg: String): Seq[String]

    Permalink
  44. def setToError(component: LoggingHelper): Seq[String]

    Permalink

    Set a component to ERROR logging level

  45. def setToInfo(pkg: String): Seq[String]

    Permalink
  46. def setToInfo(component: LoggingHelper): Seq[String]

    Permalink

    Set a component to WARN logging level

  47. def setToTrace(pkg: String): Seq[String]

    Permalink
  48. def setToTrace(component: LoggingHelper): Seq[String]

    Permalink

    Set a component to WARN logging level

  49. def setToWarn(pkg: String): Seq[String]

    Permalink
  50. def setToWarn(component: LoggingHelper): Seq[String]

    Permalink

    Set a component to WARN logging level

  51. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  52. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  53. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LoggingHelper

Inherited from AnyRef

Inherited from Any

Ungrouped