As a follow-up tothe work in https://bugs.webkit.org/show_bug.cgi?id=256683, ConsoleGroup now has the ability to set a message error level. This duplicate code should be moved to ConsoleMessageView.
<rdar://problem/118510401>
Pull request: https://github.com/WebKit/WebKit/pull/21873