arcao / Syslog

An Arduino library for logging to Syslog server in IETF format (RFC 5424) and BSD format (RFC 3164)
MIT License
118 stars 48 forks source link

why does every function call return *this? #2

Closed sticilface closed 7 years ago

sticilface commented 7 years ago

This is great for the setup functions, but I was wondering if a bool for message sent might be more helpful for the sending of messages. That way you know if it was sent, or if it returned because of an error.

There is no way of checking that everything has been configured correctly at the moment ?

Good lib BTW.

arcao commented 7 years ago

You are right. I will change it in version 3.0.

sticilface commented 7 years ago

Cool cheers :)

arcao commented 7 years ago

Fixed.