SalesPoint Framework v3.0

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 Adaptation
Add Feature
Level of Support
Parameter Pattern  
HotSpot
Log management
Hooks used
Open Log File For Evaluation
Participants
logInput

Changes

  1. logInput = Open Log File For Evaluation [logInput].
  2. repeat as needed:
    1. call logInput.readEntry to obtain next entry.
    2. if EOFException : end of log file reached.
    3. else: evaluate entry.

SalesPoint Framework v3.0