dr:logging
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dr:logging [2006/04/09 15:58] – fgm | dr:logging [2020/11/23 17:23] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Logging module ====== | ====== Logging module ====== | ||
+ | |||
===== The suggestion ===== | ===== The suggestion ===== | ||
Line 55: | Line 56: | ||
</ | </ | ||
* Eventually recorder functions fulfill their recording contract as they wish using the original function arguments. Having the recordee name as first parameter allows the recorder function to be potentially unique for several recordees. | * Eventually recorder functions fulfill their recording contract as they wish using the original function arguments. Having the recordee name as first parameter allows the recorder function to be potentially unique for several recordees. | ||
+ | |||
+ | ===== Tuning ===== | ||
+ | |||
+ | An objection to this mechanism is the obvious cost of logging over situations without logging. This could be alleviated by switching the recording pairs on and off as a logging module setting. Instead of logging pairs and always invoking the recorder, the module could store a " | ||
+ | |||
+ | That way, recordee could still send recording notifications, | ||
===== Why bother ? ===== | ===== Why bother ? ===== |
dr/logging.1144598326.txt.gz · Last modified: 2020/11/23 17:23 (external edit)