Documentation ¶ Index ¶ func LogLevel() string func NewApp(opts ...fx.Option) *fx.App func NewLogger() fx.Printer type Logger func (p *Logger) Printf(format string, args ...interface{}) 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. Source Files ¶ View all Source files config.go fx.go logger.go Directories ¶ Show internal Expand all Path Synopsis module americanas-go/multiserver.v1 cloudevents/sdk-go.v2 context coocood/freecache.v1 datadog/dd-trace-go.v1 go-chi/chi.v5 go-redis/redis.v7 go-redis/redis.v8 gofiber/fiber.v2 google.golang.org/bigquery.v1 google.golang.org/grpc.v1/server labstack/echo.v4 nats-io/nats.go.v1 newrelic/go-agent.v3 panjf2000/ants.v2 segmentio/kafka-go.v0 Click to show internal directories. Click to hide internal directories.