Add support for log levels.