Liking cljdoc? Tell your friends :D

automaton-core.log.log-levels

Defines the possible log levels and their sequence

Defines the possible log levels and their sequence
raw docstring

execute-level?clj/s

(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.
raw docstring

execute-max-level?clj/s

(execute-max-level? max-level-kw level-kw)

execute-min-level?clj/s

(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 expected
  • level-kw - keyword of the log to test
Returns 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
raw docstring

levels-sequenceclj/s

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
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close