Sometimes it's more convenient to log json.
Let's by default use the default logrus format and make it so if you select to or if the application discovers the output is not a tty, the format should be json.
See https://github.com/jadolg/porkbun-ddns/blob/main/main.go#L64
Sometimes it's more convenient to log json. Let's by default use the default logrus format and make it so if you select to or if the application discovers the output is not a tty, the format should be json. See https://github.com/jadolg/porkbun-ddns/blob/main/main.go#L64