logger

package
v0.0.0-...-a3c466b Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: GPL-2.0, GPL-2.0-or-later Imports: 16 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: GPL-2.0-or-later

  • Copyright (C) 2022 VMware, Inc. Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com> *
  • Implementation of Open Telemetry trace exporter

SPDX-License-Identifier: GPL-2.0-or-later

  • Copyright (C) 2022 VMware, Inc. Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com> *
  • Implementation of Open Telemetry trace exporter

Index

Constants

This section is empty.

Variables

View Source
var (
	EnvLoggerJaegerEndpoint = "TRACER_JEAGER_ENDPOINT"
)

Functions

This section is empty.

Types

type LogJob

type LogJob struct {
	Name    string
	File    string
	Node    string
	Pod     string
	Job     string
	Session string
}

type Logger

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

func NewLogger

func NewLogger(ctx context.Context, cfg *LoggerConfig) (*Logger, error)

func (*Logger) Destroy

func (l *Logger) Destroy()

func (*Logger) RunLogJob

func (l *Logger) RunLogJob(log *LogJob) error

func (*Logger) StopLogJob

func (l *Logger) StopLogJob(log *LogJob) error

type LoggerConfig

type LoggerConfig struct {
	JaegerEndpoint *string
	Name           string
}

Jump to

Keyboard shortcuts

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