Updating logger utility to be easier to use.