File: labels.go

package info (click to toggle)
golang-github-juju-loggo 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 260 kB
  • sloc: makefile: 10
file content (13 lines) | stat: -rw-r--r-- 337 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2024 Canonical Ltd.
// Licensed under the LGPLv3, see LICENCE file for details.

package loggo

const (
	// LoggerTags is the name of the label used to record the
	// logger tags for a log entry.
	LoggerTags = "logger-tags"
)

// Labels represents key values which are assigned to a log entry.
type Labels map[string]string