keboola / php-component

General library for PHP applications running in Keboola Connection environment
MIT License
0 stars 1 forks source link

Add reusable and tested Logger class #28

Closed tomasfejfar closed 6 years ago

tomasfejfar commented 6 years ago

Ref: https://github.com/keboola/php-component/issues/27

odinuv commented 6 years ago

uz vim, neslo by to pres ob_start ? preda se tomu callback, ktery muze overit, co slo na stdout

tomasfejfar commented 6 years ago

To právě bohužel taky nejde, to mě napadlo hned. php://stdout (resp. php://stderr) jde mimo buffering. Narozdíl od php://output. Bohužel pro stderr alternativa neexistuje.