object LogFilter
- Alphabetic
- By Inheritance
- LogFilter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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](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](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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )