Using the "origin" component for a logging message

this is indeed what i was looking for, was to focussed on the “origin” keyword

thanks for the reply