logger

package
v0.24.2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package logger creates structured, leveled loggers. These loggers have a focus on performance and composability.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger added in v0.12.0

type Logger = zerolog.Logger

Logger provides a convenient alias for other packages.

func New

func New(namespace string) Logger

New creates a new child logger.

func NewWithLevel added in v0.4.0

func NewWithLevel(namespace, logLevel string) Logger

NewWithLevel creates a new child logger with the specified level and output.

Jump to

Keyboard shortcuts

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