Added log levels support.