Build logger as module