log

package
v0.0.0-...-118fa9a Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Overview

Package log is a context based logging package, designed to interact well with both the lsp protocol and the other telemetry packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(ctx context.Context, message string, err error, tags ...tag.Tagger)

Print takes a message and a tag list and combines them into a single tag list before delivering them to the loggers.

func Print

func Print(ctx context.Context, message string, tags ...tag.Tagger)

Print takes a message and a tag list and combines them into a single tag list before delivering them to the loggers.

func With

func With(ctx context.Context, tags ...telemetry.Tag)

With sends a tag list to the installed loggers.

Types

type Event

type Event telemetry.Event

Jump to

Keyboard shortcuts

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