2017-08-27

(sph log)

routing log-messages with categories to none or many output-targets

part of sph-lib

bindings

import name

(sph log)

exports

log-default-formatter

procedure

signature

categories arguments ->

(symbol ...) (any ...) ->

description

categories is the list of symbol names for which the log-route has matched

log-default-route

variable

log-message

procedure

signature

categories arguments ... ->

symbol/(symbol ...) any ... ->

description

filters log-routes and calls any matching log-route formatter with arguments.

categories can be a tree-like list with prefixed symbols and/or/not.

log-route: #(symbol/(symbol ...) procedure:{list list ->} (port:output-port ...))

log-routes

variable

sph-log-description

variable

tags: programming guile documentation library scheme sph-lib log sph-log