feat: update logging & fix: multiple reads from buffer
fix: multiple reads from buffer
due to multiple reads from buffer
after the first read buffer will
be empty.
fix: update logging
update logging response type to interface
it's done because it was unable to log
responses whose type was array.