object LogFilter
- Alphabetic
- By Inheritance
- LogFilter
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class LogLevelByNameConfig(rootLevel: LogLevel, mappings: Map[String, LogLevel]) extends Product with Serializable
Defines a filter from a list of log-levels specified per tree node
Defines a filter from a list of log-levels specified per tree node
Example:
val filter = logLevelByName( LogLevel.Debug, "io.netty" -> LogLevel.Info, "io.grpc.netty" -> LogLevel.Info )
will use the
Debuglog level for everything except for log events with the logger name prefixed by eitherList("io", "netty")orList("io", "grpc", "netty"). Logger name is extracted from Trace.- rootLevel
Minimum log level for the root node
- mappings
List of mappings, nesting defined by dot-separated strings
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
- val acceptAll: LogFilter[Any]
Log filter which accept all logs (logs are not filtered)
- def apply[M](group0: LogGroup[M, Boolean]): LogFilter[M]
- def apply[M, V](group0: LogGroup[M, V], predicate0: (V) => Boolean): LogFilter[M]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val causeNonEmpty: LogFilter[Any]
Log filter which accept where cause is non empty
- 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
- implicit val equal: Equal[LogFilter[_]]
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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
- def logLevel(rootLevel: LogLevel): LogFilter[Any]
Returns a filter which accept logs when the log level priority is higher then given one
- def logLevel(predicate: (LogLevel) => Boolean): LogFilter[Any]
Returns a filter which accept logs when the log level satisfies the specified predicate
- def logLevelByGroup[M](group: LogGroup[M, String], config: LogLevelByNameConfig): LogFilter[M]
- def logLevelByGroup[M](rootLevel: LogLevel, group: LogGroup[M, String], mappings: (String, LogLevel)*): LogFilter[M]
Defines a filter from a list of log-levels specified per tree node
Defines a filter from a list of log-levels specified per tree node
Example:
val filter = logLevelByGroup( LogLevel.Debug, "io.netty" -> LogLevel.Info, "io.grpc.netty" -> LogLevel.Info )
will use the
Debuglog level for everything except for log events with the logger name prefixed by eitherList("io", "netty")orList("io", "grpc", "netty").- rootLevel
Minimum log level for the root node
- group
Log group
- mappings
List of mappings, nesting defined by dot-separated strings
- returns
A filter for log filtering based on log level and name
- def logLevelByGroup[M, A](rootLevel: LogLevel, group: LogGroup[M, A], matcher: (A, A) => Boolean, groupings: (A, LogLevel)*): LogFilter[M]
Defines a filter for log filtering based log level specified by given groups,
Defines a filter for log filtering based log level specified by given groups,
filter will use log level from first matching grouping or root level, if specific log level is not found
- rootLevel
Default log level
- group
Log group
- matcher
Mather for log group and groupings
- groupings
Log levels definitions
- returns
A filter for log filtering based on given groups
- def logLevelByName[M](config: LogLevelByNameConfig): LogFilter[M]
- def logLevelByName[M](rootLevel: LogLevel, mappings: (String, LogLevel)*): LogFilter[M]
Defines a filter from a list of log-levels specified per tree node
Defines a filter from a list of log-levels specified per tree node
Example:
val filter = logLevelByName( LogLevel.Debug, "io.netty" -> LogLevel.Info, "io.grpc.netty" -> LogLevel.Info )
will use the
Debuglog level for everything except for log events with the logger name prefixed by eitherList("io", "netty")orList("io", "grpc", "netty"). Logger name is extracted from log annotation or Trace, see: LogGroup.loggerName- rootLevel
Minimum log level for the root node
- mappings
List of mappings, nesting defined by dot-separated strings
- returns
A filter for log filtering based on log level and name
- 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()
- object LogLevelByNameConfig extends Serializable