dhcp.logging

log-config

log-flush

(log-flush)

log-message

(log-message kind msg remote)

Print a log message for the message in msg. If kind is :info or :error then msg is a string log message. Otherwise if kind is :send or :recv then treat msg as a msp-map structure and print a sent or received message.

start-logging

(start-logging {:keys [log-prefix log-level], :as cfg, :or {log-prefix "", log-level 2}})