duct.logger

Protocol and macro for logging events in Duct.

debug

macro

(debug logger event)(debug logger event data)

Log an event with debug logging level. See log.

error

macro

(error logger event)(error logger event data)

Log an event with error logging level. See log.

fatal

macro

(fatal logger event)(fatal logger event data)

Log an event with fatal logging level. See log.

info

macro

(info logger event)(info logger event data)

Log an event with info logging level. See log.

log

macro

(log logger level event)(log logger level event data)

Log an event and optional data structure at the supplied severity level using a logger that implements the Logger protocol.

Logger

protocol

Protocol for abstracting logging. Used by the log macro.

members

-log

(-log logger level ns-str file line id event data)

report

macro

(report logger event)(report logger event data)

Log an event with report logging level. See log.

warn

macro

(warn logger event)(warn logger event data)

Log an event with warn logging level. See log.