logger

package
v0.0.0-...-4c384aa Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(template string, args ...interface{})

Debug Log

func Error

func Error(template string, args ...interface{})

Error Log

func Fatal

func Fatal(template string, args ...interface{})

Fatal Log

func Info

func Info(template string, args ...interface{})

Info Log

func SetupLogger

func SetupLogger(location string, level string)

SetupLogger - Configure logger

func Warn

func Warn(template string, args ...interface{})

Warn Log

Types

type Logger

type Logger = zap.SugaredLogger

Logger type

Jump to

Keyboard shortcuts

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