Hook: Inspect A Log File's contents
Requirement
A log file was created and is to be used for some evaluation.
For example you might want to evaluate which items sold best and
which sold worst, based on a log file that logged every sale
transaction.
Method of AdaptationAdd Feature
Level of SupportParameter Pattern
HotSpotLog management
Hooks usedOpen Log File For Evaluation
ParticipantslogInput
Changes
-
logInput =
Open Log File For Evaluation
[logInput].
-
repeat as needed:
-
call
logInput.readEntry
to obtain next entry.
-
if
EOFException
: end of log file reached.
-
else: evaluate entry.