Part of libcloud View Source
Function | enable_debug | Enable library wide debugging to a file-like object. |
Function | _init_once | Utility function that is ran once on Library import. |
Parameters | fo | Where to append debugging information (type: File like object, only write operations are used.) |
This checks for the LIBCLOUD_DEBUG enviroment variable, which if it exists is where we will log debug information about the provider transports.
If LIBCLOUD_DEBUG is not a path, /tmp/libcloud_debug.log
is
used by default.