Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/websupport-sk/yii-stream-log
https://github.com/websupport-sk/yii-stream-log
docker log logging stream yii yii-extension
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/websupport-sk/yii-stream-log
- Owner: websupport-sk
- License: bsd-3-clause
- Created: 2018-11-21T13:04:17.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-22T12:15:56.000Z (about 6 years ago)
- Last Synced: 2024-10-29T00:56:20.709Z (about 2 months ago)
- Topics: docker, log, logging, stream, yii, yii-extension
- Language: PHP
- Size: 1.95 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Yii Stream Log
Log route for Yii 1 writing log messages to stdout / stderr
## Installation
```bash
composer install websupport/yii-stream-log
```### Configuration
```php
array(
// ...
'log' => array(
'routes' => array(
array(
'class' => 'Websupport\YiiStreamLog\StreamLogRoute',
'levels' => 'error, warning',
'stream' => 'php://stderr',
),
array(
'class' => 'Websupport\YiiStreamLog\StreamLogRoute',
'levels' => 'info, trace',
'stream' => 'php://stdout',
),
// ...
),
),
// ...
),
);
```