Object/Trait

zio.logging

LogFilter

Related Docs: trait LogFilter | package logging

Permalink

object LogFilter

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

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 acceptAll: LogFilter[Any]

    Permalink

    Log filter which accept all logs (logs are not filtered)

  5. def apply[M](group0: LogGroup[M, Boolean]): LogFilter[M]

    Permalink
  6. def apply[M, V](group0: LogGroup[M, V], predicate0: (V) ⇒ Boolean): LogFilter[M]

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. val causeNonEmpty: LogFilter[Any]

    Permalink

    Log filter which accept where cause is non empty

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def logLevel(rootLevel: LogLevel): LogFilter[Any]

    Permalink

    Returns a filter which accept logs when the log level priority is higher then given one

  16. def logLevel(predicate: (LogLevel) ⇒ Boolean): LogFilter[Any]

    Permalink

    Returns a filter which accept logs when the log level satisfies the specified predicate

  17. def logLevelByGroup[M](rootLevel: LogLevel, group: LogGroup[M, String], mappings: (String, LogLevel)*): LogFilter[M]

    Permalink

    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 Debug log level for everything except for log events with the logger name prefixed by either List("io", "netty") or List("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

  18. def logLevelByGroup[M, A](rootLevel: LogLevel, group: LogGroup[M, A], matcher: (A, A) ⇒ Boolean, groupings: (A, LogLevel)*): LogFilter[M]

    Permalink

    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

  19. def logLevelByName[M](rootLevel: LogLevel, mappings: (String, LogLevel)*): LogFilter[M]

    Permalink

    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 Debug log level for everything except for log events with the logger name prefixed by either List("io", "netty") or List("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

    returns

    A filter for log filtering based on log level and name

  20. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped