log

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log() *zap.Logger

Log returns correct registered logger

func Logs

func Logs() *zap.SugaredLogger

Logs return sugared zap logger

func RegisterLogger

func RegisterLogger(l *zap.Logger)

RegisterLogger new logger as main logger for service RegisterLogger is NOT THREAD SAFE

Types

This section is empty.

Jump to

Keyboard shortcuts

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