logger

package
v0.0.0-...-0549c05 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(message string, attr attributes.Attributes)

func Error

func Error(message string, attr attributes.Attributes)

func Fatal

func Fatal(message string, attr attributes.Attributes)

func Info

func Info(message string, attr attributes.Attributes)

func Init

func Init(opt *Option)

func Sync

func Sync() error

func Warn

func Warn(message string, attr attributes.Attributes)

Types

type Option

type Option struct {
	ServiceName    string
	ServiceVersion string
	Environment    string
	LogLevel       string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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