Added log levels to the logger