Márk Sági-Kazár

Results 330 issues of Márk Sági-Kazár

In MessageFormatters we had the issue of reading from streams which might not be readable. Though that was meant for Response objects, what's the situation in case of Requests. Some...

question

Utilize stream filters to verify the content of stream. For example an md5 verification: ``` php class MD5 extends \php_user_filter { private $context; public function onCreate() { $this->context = hash_init('md5');...

enhancement

This PR adds a compatibility layer between our message factories and PSR-17. Once it is in place, we can refactor the discovery layer to check for PSR-17 implementations and use...

We should support discovering PSR-17 factories and return them as PHP-HTTP message factories. In the next major version we can probably drop support for PHP-HTTP factories?

- [ ] ServerMessageFactory - [ ] UploadedFileFactory PRs are very welcome

ready

Try playing with fields and disabled levels in Zap and Hclog Original benchmark results goos: darwin goarch: amd64 pkg: github.com/goph/logur/benchmarks BenchmarkDisabledWithoutFields/zap-12 100000000 12.9 ns/op 32 B/op 2 allocs/op BenchmarkDisabledWithoutFields/hclog-12 50000000...

Currently log functions accept a `map[string]interface{}` as the second argument which is far from ideal: 1. It's cumbersome to write 2. ~It's a mandatory argument~ (#36 introduces optional maps) 3....

Set a logger globally

- Make tests better - Improve test coverage/compliance test coverage for loggers (eg. `WithFields`)