Close Window of 'Console' application

Has anyone a hint how I can close a window of the Consol application?

What’s wrong with the following script? I cannot close the open ‘Console’ Window.

tell application “Console”
tell application “System Events”
tell process “Console”
keystroke “W” using (command down)
end tell
end tell
end tell


keystroke "W" using command down =  keystroke "w" using {command down, shift down}

use just the lowercase w