A function taking the log level to compare with the set
threshold, all the ... arguments passed to the formatter
function, besides the standard namespace, .logcall,
.topcall and .topenv arguments (see log_level() for more
details). The function invisibly returns a list including the
original level, namespace, all ... transformed to a list as
params, the log message (after calling the formatter
function) and the log record (after calling the layout
function), and a list of handlers with the formatter,
layout and appender functions.