build a better logger