package
Version:
v0.96.1
Opens a new window with list of versions in this module.
Published: Mar 17, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 229
Opens a new window with list of known importers.
Documentation
¶
Package logger defines a type for writing to logs. It's just a
convenience type so that we don't have to pass verbose func(...)
types around.
FuncWriter returns an io.Writer that writes to f.
StdLogger returns a standard library logger from a Logf.
type Logf func(format string, args ...interface{})
Logf is the basic Tailscale logger type: a printf-like func.
WithPrefix wraps f, prefixing each format with the provided prefix.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.