logger

package
Version: v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EmptyStringError = "Empty value found."

	Panic
	Error
	Message
	Fatal
)

Variables

This section is empty.

Functions

func LogMessage

func LogMessage(msg ...interface{})

LogMessage for printing msgs on console. For debugging purpose.

func Logger

func Logger(msgType int, msg error)

Logger to define severiety of an error and handle appropriately throughout the application.

Types

type ClutonikError

type ClutonikError struct {
	ErrorMessage string
	LogLevel     int
}

func (ClutonikError) Error

func (c ClutonikError) Error() string

Source Files

Jump to

Keyboard shortcuts

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