Model Fit for a Logistic Regression

How do you know if your model fits the data well?  When applying an OLS regression, the standard metric is the R-squared (i.e., R2).   If you have a dependent variable that is binary, however, most researchers prefer a logistic regression.  If you choose a logistic rather than an OLS approach, however, how do you know…