Logger as module