logdomain

package
v0.0.0-...-c8b2685 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package logdomain provides constants to identify the different "areas" of the application that perform logging.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ID

type ID uint8

ID represents an area of concern.

const (
	Common ID = iota
	Classifier
	DBPool
	Database
	Download
	Feed
	Prefetch
	Reader
	Search
	Tag
	Web
)

These constants identify the various logging domains.

func AllDomains

func AllDomains() []ID

AllDomains returns a slice of all the known log sources.

Jump to

Keyboard shortcuts

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