log

package
v0.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2021 License: BSD-2-Clause Imports: 2 Imported by: 0

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

func NewConn(seq uint64) Conn

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL