Next: posix log-files api, Up: posix log-files [Index]
The following bindings are exported by the library (vicare posix
log-files).
Boolean: true if logging is enabled, false otherwise. It is initialised
to #f.
A textual output port to which log messages must be written; the port is
expected to have line buffering, but this is not required. It is
initialised to the value of the parameter current-output-port at
the time the library is instantiated.
This parameter is configured by calls to open-logging.
A string representing the prefix for every log message; it can be the empty string. It is initialised to the empty string. It is useful to include the ID of the current process in this prefix string, getpid.
False or a Scheme string representing the log file pathname. The
special string "-" means: log to the error port. It is
initialised to "-".
If desired, this parameter should be configured before calling
open-logging.