Print to the console from hook script

I have fixed the command logger -t ${SNAP_NAME} "warning" but when I run the following journalctl command in host system it doesn’t show the message.

sudo journalctl -r -u snap.<snapname>.<servicename>

I can only find the service logs.