Logging
Last updated
Was this helpful?
Last updated
Was this helpful?
Please note: This page is under construction and has not been finished yet.
You can log events to the admin by using the built in log class. Use the following to retrieve the alerts class object.
Parameter
Description
name
Title or name for the log event.
details
Details for the log event - can be either a string of text or an array.
type
code
Custom reference code for your type of event. It should be short, ALL CAPITALS and not contain spaces.
Type
Description
E_LOG_INFORMATIVE
Informational event
E_LOG_NOTICE
Notice event
E_LOG_WARNING
Warning event
E_LOG_FATAL
Fatal event
The type of event. ()