logx

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package logx provides logger.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct{}

Logger describes logger.

func New

func New() *Logger

New returns new Logger.

func (*Logger) Fatal

func (l *Logger) Fatal(err error)

Fatal prints fatal error.

func (*Logger) Infof

func (l *Logger) Infof(format string, a ...any)

Infof prints info message.

Jump to

Keyboard shortcuts

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