chickadee » log5scm » port-sender

port-sender port-or-path #!key (lazy #f)procedure

Creates a sender that outputs to a port. If port-or-path is a port, all data will be send to this port. If port-or-path is a string, it is considered a path to a file. The file will be opened and all messages will be send to this file. If lazy is set to true and port-or-path is a file-name, the sender will delay the opening of the file until it is actually needed, because a matching log-for statement is issued.