Defines the possible log levels and their sequence
Defines the possible log levels and their sequence
(execute-level? {:keys [min-level max-level level]})
Returns true if the level
is in range of min-level
and max-level
.
If no min-level
or max-level
is supplied, only the other is taken into account.
In all the other cases returns nil.
Returns true if the `level` is in range of `min-level` and `max-level`. If no `min-level` or `max-level` is supplied, only the other is taken into account. In all the other cases returns nil.
(execute-max-level? max-level-kw level-kw)
(execute-min-level? min-level-kw level-kw)
Returns true if we decide to apply log to that levl regarding minimimum required Params:
min-level-kw
- keyword of the minimum log level expectedlevel-kw
- keyword of the log to testReturns true if we decide to apply log to that levl regarding minimimum required Params: * `min-level-kw` - keyword of the minimum log level expected * `level-kw` - keyword of the log to test
List error levels in our app, first is more detailed, last is least detailed
List error levels in our app, first is more detailed, last is least detailed
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close