logger: Move functions around
logger: Fix documentation inconsistencies