logging

package
v0.0.0-...-3a74bb8 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AxiomWriter

type AxiomWriter struct {
	// contains filtered or unexported fields
}

func NewAxiomWriter

func NewAxiomWriter(config AxiomWriterConfig) (*AxiomWriter, error)

func (*AxiomWriter) Close

func (aw *AxiomWriter) Close()

func (*AxiomWriter) Write

func (aw *AxiomWriter) Write(p []byte) (int, error)

type AxiomWriterConfig

type AxiomWriterConfig struct {
	Dataset string
	Token   string
}

type Config

type Config struct {
	Debug  bool
	Writer []io.Writer
}

type Logger

type Logger = zerolog.Logger

func New

func New(config *Config) Logger

func NewNoopLogger

func NewNoopLogger() Logger

Jump to

Keyboard shortcuts

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