Handbook
Glossary
with-logging ( service quot -- )
Furnace framework
»
Logging framework
»
Log files
Next:
log-path ( service -- path )
Vocabulary
logging
Inputs
service
a log service name
quot
a
quotation
Outputs
None
Word description
Calls the quotation a new dynamic scope where all logging calls more urgent than
log-level
are sent to the log file for
service
.
Definition
USING:
kernel
namespaces
;
IN:
logging
:
with-logging
( service quot -- )
[
log-service
]
dip
with-variable
;
inline