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.