Ferreteria/v0.5/evlog

From Woozle Writes Code
< Ferreteria‎ | v0.5
Revision as of 13:31, 19 February 2023 by Woozle (talk | contribs) (Created page with "{{fmt/title|Ferreteria event logging system}} ==Notes== * Basic logger object can be accessed by <code>F\caApp::Me()->LogData()</code>. * Method to log an event is ...<code>->LogData()->CreateEvent(string $sName,array $arData,int $idMom=NULL)</code>. ** This is defined by the <code>F\data\evlog\cFeature</code> class ({{l/ferret/code|data/log/feature.php}}). * Some data objects have shortcuts to automatically include relevant context: ** <code>tLoggableCard</code> defines...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Ferreteria event logging system

Notes

  • Basic logger object can be accessed by F\caApp::Me()->LogData().
  • Method to log an event is ...->LogData()->CreateEvent(string $sName,array $arData,int $idMom=NULL).
  • Some data objects have shortcuts to automatically include relevant context:
    • tLoggableCard defines a shortcut for Card classes.