First pass on implementing PSR logger interface

- Created a separate PayPalLogger as default implementation.
- Enabled `log.Adapter` as a configuration to pass name of custom
  logger.
This commit is contained in:
Jay Patel
2016-04-06 14:10:54 -05:00
parent bf3c20e694
commit 69886a0741
4 changed files with 129 additions and 41 deletions

View File

@@ -14,7 +14,8 @@
"require": {
"php": ">=5.3.0",
"ext-curl": "*",
"ext-json": "*"
"ext-json": "*",
"psr/log": "1.0.0"
},
"require-dev": {
"phpunit/phpunit": "3.7.*"