logger

package
v1.0.34 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFxEventLogger added in v1.0.16

func CreateFxEventLogger(logger log.Logger, cfg cfg.Config) fxevent.Logger

CreateFxEventLogger is a constructor to create fxevent.Logger This one is used by fx itself to output its events

func CreateMortarLogger

func CreateMortarLogger(builder log.Builder, contextExtractors ...log.ContextExtractor) log.Logger

CreateMortarLogger creates a new mortar logger which is a wrapper to support

  • ContextExtractors

**Important**

This constructor will call builder.IncrementSkipFrames to peel additional layer of itself.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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