add a helper function to create normal logger