std.log.profile

action

macro

(action body)(action context body)(action logger context body)

bind-trace

added in 3.0

(bind-trace trace thunk)

binds a trace id to the log

block

macro

(block body)(block context body)(block logger context body)

defmeter

macro

added in 3.0

(defmeter name level preset)

creates a meter macro

defspy

macro

added in 3.0

(defspy name level preset)

creates a spy macro

item-style

added in 3.0

(item-style {:keys [label hide show retain], :as m})

styles the actual log entry

meter

macro

(meter body)(meter context body)(meter logger context body)

meter-fn

added in 3.0

(meter-fn logger thunk level {:console/keys [style], :as context})

constructs a meter function

meter-form

added in 3.0

(meter-form level id form body logger context preset)

helper to the meter macro

note

macro

(note body)(note context body)(note logger context body)

on-color

added in 3.0

(on-color color)

produces an on-color style for console label

on-grey

added in 3.0

(on-grey color)

produces an on-grey style for console label

on-white

added in 3.0

(on-white color)

produces an on-white style for console label

profile

macro

(profile body)(profile context body)(profile logger context body)

section

macro

(section body)(section context body)(section logger context body)

show

macro

(show body)(show context body)(show logger context body)

silent

macro

(silent body)(silent context body)(silent logger context body)

spy

macro

(spy body)(spy context body)(spy logger context body)

spy-fn

added in 3.0

(spy-fn logger thunk level context)(spy-fn logger thunk level context {:keys [start-fn wrap-fn write-fn end-fn error-fn], :as hooks})

constructs a spy function with print on start and end

spy-form

added in 3.0

(spy-form level id form body logger context preset)

helper function for the spy macro

status

macro

(status body)(status context body)(status logger context body)

task

macro

(task body)(task context body)(task logger context body)

todo

macro

(todo body)(todo context body)(todo logger context body)

trace

macro

(trace body)(trace context body)(trace logger context body)

track

macro

(track body)(track context body)(track logger context body)