Refactor logging in Database package to PSR-3

Closes #28