system-log
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Namespaces

  • Phramework
    • Exceptions
    • SystemLog
      • Log

Classes

  • DatabaseLog
  • FileLog
  • TerminalLog

Interfaces

  • ILog

Namespace Phramework\SystemLog\Log

Classes summary

DatabaseLog

Log implementation using databse as storage Defined settings:

  • object system-log
    • object database-log
      • string adapter, IAdapter's implementation class (full class path)
      • string host
      • string port
      • string name
      • string username
      • string password
      • string schema, [Optional], Table's schema, default is null
      • string table, [Optional], Table's name, default is "system-log"

To use DatabaseLog:
- Set system-log's log to 'Phramework\\SystemLog\\APP\\Log\\DatabaseLog'
- Add database-log objecto to your settings
See this class's __construct method for an example.

FileLog

Log implementation using file as storage method Defined settings:

  • object system-log[]
    • object file-log[]
      • string path File path to store log
TerminalLog Log implementation using terminal to display log messages

Interfaces summary

ILog Log storage implemtation interface
system-log API documentation generated by ApiGen