golang

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GolangLog

type GolangLog struct {
	Application string `json:"application"`
	Environment string `json:"environment"`
	Component   string `json:"component"`
	Level       string `json:"level"`
	MSG         string `json:"msg"`
	Time        string `json:"time"`
	// contains filtered or unexported fields
}

func NewGolangLogRandom

func NewGolangLogRandom(i GolangLogIntensity) *GolangLog

func (*GolangLog) IsFramed added in v0.9.0

func (l *GolangLog) IsFramed() bool

func (GolangLog) Labels

func (g GolangLog) Labels() prometheus.Labels

func (*GolangLog) SetFramed added in v0.9.0

func (l *GolangLog) SetFramed(f bool)

func (GolangLog) String

func (g GolangLog) String() (string, float64)

type GolangLogIntensity

type GolangLogIntensity struct {
	ErrorWeight   *uint `json:"error_weight"`
	WarningWeight *uint `json:"warning_weight"`
	InfoWeight    *uint `json:"info_weight"`
	DebugWeight   *uint `json:"debug_weight"`
}

Jump to

Keyboard shortcuts

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