Class 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"
- object database-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.
- Phramework\SystemLog\Log\DatabaseLog implements Phramework\SystemLog\Log\ILog
Namespace: Phramework\SystemLog\Log
License: Apache-2.0
Author: Xenofon Spafaridis nohponex@gmail.com
Since: 0.0.0
Located at Log/DatabaseLog.php
License: Apache-2.0
Author: Xenofon Spafaridis nohponex@gmail.com
Since: 0.0.0
Located at Log/DatabaseLog.php
Methods summary
public
|
|
public
string
|
|
public
|