Hi,
The Packet tracer is accepting limited commands but you can use below commands as:
Router(config)#logging trap ?
debugging Debugging messages (severity=7)
<cr>
!
Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!