Write writes the provided logger event to the network.
(event *Event)
| 27 | |
| 28 | // Write writes the provided logger event to the network. |
| 29 | func (n *Net) Write(event *Event) { |
| 30 | |
| 31 | n.conn.Write([]byte(event.fmsg)) |
| 32 | } |
| 33 | |
| 34 | // Clone closes the network connection. |
| 35 | func (n *Net) Close() { |