logging

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package logging contains lightweight common logging functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger() (*zap.Logger, error)

NewLogger creates a new logger.

func WithComponent

func WithComponent(log *zap.Logger, name string) *zap.Logger

WithComponent will return the logger with a component field attached.

Types

This section is empty.

Jump to

Keyboard shortcuts

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