slog

package
v0.0.0-...-2f23b2c Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: BSD-2-Clause Imports: 8 Imported by: 18

Documentation

Index

Constants

View Source
const (
	DEFAULT_STATS_LOG_NAME   = "test"
	DEFAULT_STATS_LOG_LEVEL  = "debug"
	DEFAULT_STATS_LOG_PREFIX = "test"
	DEFAULT_STATS_ADDR       = "tcp://127.0.0.1:5450"
)

Variables

View Source
var (
	LogPrefix string

	Gm *util.StreamingMetrics // Main metrics object
)

Functions

func Fatalf

func Fatalf(format string, v ...interface{})

func Init

func Init(logName string, logLevel string, logPrefix string, metrics *util.StreamingMetrics, metricsAddr string,
	logAddress string, logNetwork string)

func Logf

func Logf(level logger.Level, format string, v ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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