Banshee
the secure PHP framework

Logfile library

Properties

  • user_id (w): Add this user id to every logfile entry.

Methods

  • flush(): Flush logfile entries to disk.
  • add_entry($entry): Add an entry to the logfile. Can be in printf format.
  • add_variable($variable): Adds the content of a variable of any type to the logfile.

Example

[php] add_entry("This is event number %d.", 7); ?> [/php]