embedded

package
v0.2.0-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 0 Imported by: 3

README

Log Embedded

PkgGoDev

Documentation

Overview

Package embedded provides interfaces embedded within the OpenTelemetry Logs Bridge API.

Implementers of the OpenTelemetry Logs Bridge API can embed the relevant type from this package into their implementation directly. Doing so will result in a compilation error for users when the OpenTelemetry Logs Bridge API is extended (which is something that can happen without a major version bump of the API package).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	// contains filtered or unexported methods
}

Logger is embedded in Logs Bridge API Logger.

Embed this interface in your implementation of the Logs Bridge API Logger if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the Logs Bridge API Logger interface is extended (which is something that can happen without a major version bump of the API package).

type LoggerProvider

type LoggerProvider interface {
	// contains filtered or unexported methods
}

LoggerProvider is embedded in the Logs Bridge API LoggerProvider.

Embed this interface in your implementation of the Logs Bridge API LoggerProvider if you want users to experience a compilation error, signaling they need to update to your latest implementation, when the Logs Bridge API LoggerProvider interface is extended (which is something that can happen without a major version bump of the API package).

Jump to

Keyboard shortcuts

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