Add helper function for lager logging