logger

package
v0.0.0-...-f5dee0d Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(

	fx.Supply(
		a,

		fx.Annotate(a, fx.As(new(service.ILogger))),
	),
)

Module -

Functions

This section is empty.

Types

type Logger

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

Logger -

func NewLogger

func NewLogger() *Logger

NewLogger -

func (*Logger) Log

func (l *Logger) Log(message string)

Log -

func (*Logger) WithPrefix

func (l *Logger) WithPrefix(prefix string)

WithPrefix -

Jump to

Keyboard shortcuts

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