SalesPoint Framework v3.0

Hook: Define New Loggable Event


Requirement

A new type of event/object needs to be logged.

Method of Adaptation
Augment feature
Level of Support
Parameter Pattern  
HotSpot
Log management
Participants
Loggable, NewLoggable , LogEntry, NewLogEntry , logEntry

Changes

  1. implementation NewLoggable of Loggable.
  2. NewLoggable.getLogData implements Loggable.getLogData :
    1. subclass NewLogEntry of LogEntry.
    2. NewLogEntry.toString overrides LogEntry.toString .
    3. instance logEntry of NewLogEntry.
    4. fill logEntry with information to be logged.
    5. return logEntry.

Constraints

Comments


SalesPoint Framework v3.0