consume

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: Unlicense Imports: 6 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

View Source
var F, E, W, I, D, T log.LevelPrinter = log.GetLogPrinterSet(subsystem)

Functions

func FilterNone

func FilterNone(string) bool

FilterNone is a filter that doesn't

func Kill

func Kill(w *worker.Worker)

Kill sends a kill signal via the pipe logger

func Log

func Log(
	quit qu.C, handler func(ent *log.Entry) (e error), filter func(pkg string) (out bool), args ...string,
) *worker.Worker

func SetLevel

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

SetLevel sets the level of logging from the worker

func SimpleLog

func SimpleLog(name string) func(ent *log.Entry) (e error)

SimpleLog is a very simple log printer

func Start

func Start(w *worker.Worker)

func Stop

func Stop(w *worker.Worker)

Stop running the worker

Types

This section is empty.

Jump to

Keyboard shortcuts

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