Log implementation
Furnace framework ยป Logging framework

Prev:Log analysis


The logging.server vocabulary implements a concurrent log server using concurrency.messaging. User code never interacts with the server directly, instead it uses the words in the Logging framework vocabulary. The server is used to synchronize access to log files and ensure that log rotation can proceed in an orderly fashion.

The log-message word sends a message to the server which results in the server executing an internal word:
(log-message) ( msg -- )


The rotate-logs word sends a message to the server which results in the server executing an internal word:
(rotate-logs) ( -- )


The close-logs word sends a message to the server which results in the server executing an internal word:
(close-logs) ( -- )