logger

package module
v0.0.0-...-dd29ae3 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: MIT Imports: 4 Imported by: 0

README

logger

simple logger

Documentation

Overview

Package logger provides simple logger

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(format string, args ...any)

Error prints log message with ERROR level

func Fatal

func Fatal(format string, args ...any)

Fatal prints log message with FATAL level and calls os.Exit(1)

func Info

func Info(format string, args ...any)

Info prints log message with INFO level

func SetProductName

func SetProductName(name string)

SetProductName updates the prefix

func Warn

func Warn(format string, args ...any)

Warn prints log message with WARN level

Types

This section is empty.

Jump to

Keyboard shortcuts

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