log

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package log is a very lightweight wrapper around the fatih/color and zerolog packages for log output

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debugf

func Debugf(format string, a ...interface{})

Debugf prints a debug level msg

func Debugln

func Debugln(a ...interface{})

Debugln prints a debug level msg

func Errorf

func Errorf(format string, a ...interface{})

Errorf prints an error level msg

func Errorln

func Errorln(a ...interface{})

Errorln prints an error level msg

func Fatalf

func Fatalf(format string, a ...interface{})

Fatalf prints a fatal level msg

func Fatalln

func Fatalln(a ...interface{})

Fatalln prints a fatal level msg

func Infof

func Infof(format string, a ...interface{})

Infof prints an information level msg

func Infoln

func Infoln(a ...interface{})

Infoln prints an information level msg

func Initialize

func Initialize(logLevel string)

Initialize Initializes logging configuration

func Level

func Level() string

Level returns the current level of the logger

func Warningf

func Warningf(format string, a ...interface{})

Warningf prints a warning level msg

func Warningln

func Warningln(a ...interface{})

Warningln prints a warning level msg

Types

This section is empty.

Jump to

Keyboard shortcuts

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