Skip to content

Commit

Permalink
Merge pull request inconshreveable#108 from spenczar/patch-1
Browse files Browse the repository at this point in the history
Fix typo in SyslogNetHandler documentation comment
  • Loading branch information
inconshreveable authored Oct 25, 2016
2 parents 944cbfb + df98a28 commit cf37582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syslog.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func SyslogHandler(priority syslog.Priority, tag string, fmtr Format) (Handler,
return sharedSyslog(fmtr, wr, err)
}

// SyslogHandler opens a connection to a log daemon over the network and writes
// SyslogNetHandler opens a connection to a log daemon over the network and writes
// all log records to it.
func SyslogNetHandler(net, addr string, priority syslog.Priority, tag string, fmtr Format) (Handler, error) {
wr, err := syslog.Dial(net, addr, priority, tag)
Expand Down

0 comments on commit cf37582

Please sign in to comment.