logging

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSyncFileWriter

func NewSyncFileWriter(file *os.File) io.Writer

NewSyncFileWriter returns an io.Writer that is backed by an os.File and that synchronizes the writes to the file. This is suitable for use with non-threadsafe writers, e.g. os.Stdout.

Types

This section is empty.

Jump to

Keyboard shortcuts

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