Wrapper around `android.util.Log` that optionally logs to a file as well.