consume

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT, Unlicense, Unlicense Imports: 7 Imported by: 0

Documentation

Overview

Package consume turns off and on the Serve logging messages and provides a way to receive and process the log messages

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(quit chan struct{}, handler func(ent *logi.Entry) (
	err error), filter func(pkg string) (out bool),
	args ...string) *worker.Worker

func SetFilter

func SetFilter(w *worker.Worker, pkgs Pk.Package)

func SetLevel

func SetLevel(w *worker.Worker, level string)

func Start

func Start(w *worker.Worker)

func Stop

func Stop(w *worker.Worker)

Types

This section is empty.

Jump to

Keyboard shortcuts

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