refactor: Untie "logging" away from its IMAP-specific roots
Change-Id: I550c3da7590831f65db730258116ddecd670f17e