logOnError

If true, when using any of the "try" methods, log any errors, if they occur, to the console.

This is a useful way to debug what happened because otherwise the exception will be silently swallowed.

This value will be set to true if you are running on a debug build, but it will default to false otherwise.