object LogFiltering
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LogFiltering
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type FilterCache = TMap[(List[String], LogLevel), Boolean]
- final case class LogFilterNode(logLevel: LogLevel, children: Map[String, LogFilterNode]) extends Product with Serializable
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cachedFilterBy[A](cache: FilterCache, rootLevel: LogLevel, mappings: (String, LogLevel)*): (LogContext, => A) => UIO[Boolean]
- def cachedFilterByTree[A](cache: FilterCache, root: LogFilterNode): (LogContext, => A) => UIO[Boolean]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def filterBy[A](rootLevel: LogLevel, mappings: (String, LogLevel)*): (LogContext, => A) => Boolean
Defines a filter function from a list of log-levels specified per tree node
Defines a filter function from a list of log-levels specified per tree node
Example:
val filter = filterBy[String]( LogLevel.Debug, "io.netty" -> LogLevel.Info, "io.grpc.netty" -> LogLevel.Info )
will use the
Debug
log level for everything except for log events with the name annotation prefixed by eitherList("io", "netty")
orList("io", "grpc", "netty")
.- rootLevel
Minimum log level for the root node
- mappings
List of mappings, nesting defined by dot-separated strings
- returns
A filter function for customizing appenders
- def filterByTree[A](root: LogFilterNode): (LogContext, => A) => Boolean
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()