logdomain

package
v0.0.0-...-9919733 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: AGPL-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
	DBPool
	Database
	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