add PsrLoggerInject

suport psr/log interface
fix resource module
refactor exception