add support psr-3 for logging request

#385