logger

package
v0.0.0-...-3852566 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLogger

func InitLogger(logConf config.LogConfiguration)

func NewLogger

func NewLogger(cfg config.LogConfiguration) logger.Logger

NewLogger create new logger from config and return Logger interface log level: panic, fatal, error, warn, info, debug, trace log runtime: dev, prod, gcp, azure, aws

func NewLoggerWithFields

func NewLoggerWithFields(cfg config.LogConfiguration, fields map[string]interface{}) logger.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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