log

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package log provides beautiful logger for the console interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func New

func New(writer io.Writer) *Logger

func (*Logger) Error

func (l *Logger) Error(msg string, params ...any) *Logger

func (*Logger) Info

func (l *Logger) Info(msg string, params ...any) *Logger

func (*Logger) Sub

func (l *Logger) Sub() *Logger

func (*Logger) Success

func (l *Logger) Success(msg string, params ...any) *Logger

Jump to

Keyboard shortcuts

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