logger

package
v0.13.14 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLog

func NewLog(options LogOptions) (v logs.Logger, err error)

Types

type LogOptions

type LogOptions struct {
	Name      string
	Level     string `copy:"Level"`
	Formatter string `copy:"Formatter"`
	Color     bool   `copy:"Color"`
}

type Printf

type Printf struct {
	Core logs.Logger
}

func (*Printf) Printf

func (p *Printf) Printf(layout string, v ...interface{})

Jump to

Keyboard shortcuts

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