Make ShadowLog methods synchronized.

Closes #1097.