Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn func(fmt string, v ...interface{})
Conn represents a per connection logging function.
func NewConn ¶
NewConn returns a per connection logging function. The function prefixes the messages with "[n]" where n is the sequence number of the connection. The function is called in exactly the same way as log.Printf in the standard library. The output will be written to the standard logger.
Click to show internal directories.
Click to hide internal directories.