logimpl

package module
v0.58.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package logimpl provides a component that implements the log.Component for the trace-agent logger

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provides

type Provides struct {
	Comp logdef.Component
}

Provides defines the output of the log component

func NewComponent

func NewComponent(deps Requires) (Provides, error)

NewComponent creates a pkglog.Component using the provided config

type Requires

type Requires struct {
	Lc     compdef.Lifecycle
	Params logdef.Params
	Config config.Component
}

Requires declares the input types to the logger component constructor

Jump to

Keyboard shortcuts

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