logger

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package logger provides structured logging for various services or API endpoints for matrix exposed by matrixid.

We are using bur/zap as the basis for our logger because of its performance and clean API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Error(msg string, fields ...zap.Field)
	Info(msg string, fields ...zap.Field)
	With(fields ...zap.Field) Logger
	Sync() error
}

func New

func New() (Logger, error)

Jump to

Keyboard shortcuts

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