This commit is contained in:
Alexander Plutov 2016-05-14 19:38:24 +07:00
parent 91a99ea62c
commit deda5496ff

View File

@ -36,7 +36,7 @@ import "github.com/logpacker/PayPal-Go-SDK"
```go
// Create a client instance
c, err := paypalsdk.NewClient("clientID", "secretID", paypalsdk.APIBaseSandBox)
c.SetLogFile("/tpm/paypal-debug.log") // Set log file if necessary
c.SetLog(os.Stdout) // Set log to terminal stdout
```
#### Get access token