Added traits so that loggers can be more flexible and customizeable