LogWriter: Add #delete and #deleteSync

See #1.