SalesPoint Framework v3.0

Hook: Log Opening Or Closing Of Log File


Requirement

A log entry needs to be written whenever a log file is opened or closed.

Method of Adaptation
Enable Feature
Level of Support
Parameter Pattern  
HotSpot
Log management
Hooks used
Incorporate New Log Type
Participants
Log, NewLog

Changes

  1. subclass NewLog of Log.
  2. if need to log opening of log file:
    1. NewLog.logOpenLog overrides Log.logOpenLog .
  3. if need to log closing of log file:
    1. NewLog.logCloseLog overrides Log.logCloseLog .
  4. Incorporate New Log Type [NewLog = NewLog].

SalesPoint Framework v3.0