EntryInterface
interface EntryInterface (View source)
An interface for making complex log entries
Methods
string
getMessage()
Convert this entry into a string that can be inserted into the log
array
getContext()
Get the added context for the log entry
Details
string
getMessage()
Convert this entry into a string that can be inserted into the log
Ex: "Created a new user"
array
getContext()
Get the added context for the log entry
Ex: ["username": "...", "email": "...", "id": "...", "created_by": "..."]