auto-core.log.log-levels

Defines the possible log levels and their sequence

execute-level?

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

execute-max-level?

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

execute-min-level?

(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

levels-sequence

List error levels in our app, first is more detailed, last is least detailed