Entry point for logging messages during the CSVW process. Components should call log-warning and log-error instead of writing log messages directly. The sink for log messages can be configured by setting logger.
Entry point for logging messages during the CSVW process. Components should call log-warning and log-error instead of writing log messages directly. The sink for log messages can be configured by setting *logger*.
(capture-warnings & body)
Captures any warning messages logged while executing body. Logged warnings are returned under the :warnings key in the returned map. The result of body is returned under the :result key.
Captures any warning messages logged while executing body. Logged warnings are returned under the :warnings key in the returned map. The result of body is returned under the :result key.
(log-error msg)
Logs the given error to the current logger.
Logs the given error to the current logger.
(log-warning msg)
Logs the given warning to the current logger.
Logs the given warning to the current logger.
(error this msg)
(warn this msg)
(memory-logger)
(suppress-logging & body)
Discards all log messages generated while executing body.
Discards all log messages generated while executing body.
(with-logger logger & body)
Executes body with the given log message sink.
Executes body with the given log message sink.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close