Clean up logging

Remove several return statements, log the word that describes the
logging level as well as the symbol and add a module-level doc string