loggerimpl

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDevelopment

func NewDevelopment() (log.Logger, error)

NewDevelopment returns a logger at debug level and log into STDERR

func NewLogger

func NewLogger(zapLogger *zap.Logger) log.Logger

NewLogger returns a new logger

func NewLoggerForTest

func NewLoggerForTest(s suite.Suite) log.Logger

NewLoggerForTest is a helper to create new development logger in unit test

func NewNopLogger

func NewNopLogger() log.Logger

NewNopLogger returns a no-op logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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