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: 8 months 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 (almost 7 years ago)
 - Default Branch: master
 - Last Pushed: 2018-11-22T12:15:56.000Z (almost 7 years ago)
 - Last Synced: 2025-02-17T19:17:25.081Z (9 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',
                ),
                // ...
            ),
        ),
        // ...
    ),
);
```