Generate event in Hass log from node red

I manipulate the brightness of a shelly dimmer using some advanced parameters in node red and I would like to generate an event in the home assistant log similar to how an event is generated for on and off events. Any tips to achieve this?