Defined more practical logging pattern