logdomain

package
v0.0.0-...-1e580ad Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 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
	Client
	DBPool
	Database
	GUI
	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