BuaBook/kdb-common

log.q: Add .log.isLoggingAt

jasraj opened this issue · 0 comments

Add a function which returns true if the specified log level is currently active (i.e. logging).

Example:

q) .log.setLevel`INFO
q) .log.isLoggingAt `WARN
1b
q) .log.isLoggingAt `DEBUG
0b