fx

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogLevel

func LogLevel() string

func NewApp

func NewApp(opts ...fx.Option) *fx.App

NewApp start a new fx app with options.

func NewLogger

func NewLogger() fx.Printer

NewLogger returns a new logger.

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

Logger represents a logger for fx.

func (*Logger) Printf

func (p *Logger) Printf(format string, args ...interface{})

Printf logs format and args according to log level.

Jump to

Keyboard shortcuts

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