Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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',
),
// ...
),
),
// ...
),
);
```