logger

package
v0.0.0-...-84f9aa2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fatal

func Fatal(v ...interface{})

Fatal logs caller filename and line number and sends an Internal Server error code to the user.

func HandleError

func HandleError(err error)

HandleError will log error and panic if an error is found.

func Log

func Log(err error, msg ...string)

Log logs error to Stdout

func LogError

func LogError(err error)

LogError will only log the error

func Panic

func Panic(v ...interface{})

Panic logs caller filename and line number and sends an Internal Server error code to the user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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