This function creates a Gelf message object and sends it to a Graylog server. It takes a message and a list of tags as inputs.