daemon/logger/syslog/syslog.go
Function New
has 7 return statements (exceeds 4 allowed). Open
Open
func New(info logger.Info) (logger.Logger, error) {
tag, err := loggerutils.ParseLogTag(info, loggerutils.DefaultTemplate)
if err != nil {
return nil, err
}
Function parseAddress
has 7 return statements (exceeds 4 allowed). Open
Open
func parseAddress(address string) (string, string, error) {
if address == "" {
return "", "", nil
}
addr, err := url.Parse(address)