1
0
mirror of https://github.com/golang/go synced 2024-10-04 16:21:22 -06:00
go/src/pkg/syslog
Ian Lance Taylor 8206cce117 syslog: split Unix domain support from network support.
This is to make it easier to support Solaris syslog.  On
Solaris syslog messages are sent via STREAMS using putmsg to
/dev/conslog.  The putmsg call uses a a control buffer of type
log_cdtl and a data buffer which is the message, and it is in
general a big mess.  This CL just splits out the Unix domain
support so that Solaris can use a different mechanism.  I do
not propose to implement the Solaris support today.  This
split will make it possible for gccgo to just call the libc
function for now.

R=r, rsc
CC=golang-dev
https://golang.org/cl/4261061
2011-03-09 13:15:46 -08:00
..
Makefile syslog: split Unix domain support from network support. 2011-03-09 13:15:46 -08:00
syslog_test.go log: rename Exit* to Fatal* 2011-02-01 12:47:35 -08:00
syslog_unix.go syslog: split Unix domain support from network support. 2011-03-09 13:15:46 -08:00
syslog.go syslog: split Unix domain support from network support. 2011-03-09 13:15:46 -08:00