Guile Library

(logging port-log)


This module defines a log handler that writes to an arbitrary port of the user's choice. Uses of this handler could include:



This is a log handler which writes logs to a user-provided port.

Keywords recognized by <port-log> on creation are:


This is the port to which the log handler will write.


Allows the user to provide a function to use as the log formatter for this handler. See logging logger <log-handler>, for details.

Example of creating a <port-log>:

 (make <port-log> #:port (current-error-port))