Skip to content

Use correct MQTT logger #47

@W-Floyd

Description

@W-Floyd

opts.SetDefaultPublishHandler(func(client mqtt.Client, msg mqtt.Message) {
log.Printf("TOPIC: %s\n", msg.Topic())
log.Printf("MSG: %s\n", msg.Payload())
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions