Add a way to change the log format