alog

package
v1.5.17 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(topic string, logs map[string]string) error

func Error

func Error(topic string, logs map[string]string) error

func Info

func Info(topic string, logs map[string]string) error

func New

func New(c *LoggerConfig)

func Warn

func Warn(topic string, logs map[string]string) error

Types

type Logger

type Logger struct {
	Project  string
	LogStore string
	HostName string
	// contains filtered or unexported fields
}

func (*Logger) Start

func (l *Logger) Start()

type LoggerConfig

type LoggerConfig struct {
	ConfigName string
	LogStore   string
}

Jump to

Keyboard shortcuts

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