GH-414 Extracted logger API to a separate module