logging

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package logging contains zap logging helpers.

Index

Constants

This section is empty.

Variables

View Source
var Logger *zap.Logger

Logger is a global logger instance from which we deliver all other logger instances.

Functions

func Component

func Component(name string) zap.Field

Component log subsystem.

func SubscriptionID

func SubscriptionID(id string) zap.Field

SubscriptionID watch subscription id.

func With

func With(fields ...zap.Field) *zap.Logger

With creates new logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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