Documentation
¶
Overview ¶
This example demonstrates how to setup logging of requests/responses with the sdk using the standard Go "log" library.
By default, this example logs to stout (for INFO level logs) and stderr (for ERROR level logs):
```$ go run -v ./examples/logging/logging.go```
To log INFO and ERROR to a single log file use:
```$ go run -v ./examples/logging/logging.go -logfile=<path to logfile>```
Click to show internal directories.
Click to hide internal directories.