Add support for logging levels