logging

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: MIT Imports: 2 Imported by: 0

README

go-logger

Simply colorful console logger for Go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MyLog

type MyLog struct{}

MyLog is my default log messages

func (MyLog) Debug

func (l MyLog) Debug(a ...interface{})

Debug is a log DEBUG message

func (MyLog) Error

func (l MyLog) Error(errAction string, err error)

func (MyLog) ErrorLog

func (l MyLog) ErrorLog(a ...interface{})

ErrorLog is an error log message

func (MyLog) FailureStatus

func (l MyLog) FailureStatus(action, status string)

FailureStatus is a positive status log message

func (MyLog) Info

func (l MyLog) Info(a ...interface{})

Info is a log INFO messge

func (MyLog) LargeDebug

func (l MyLog) LargeDebug(a ...interface{})

func (MyLog) SuccessStatus

func (l MyLog) SuccessStatus(action, status string)

SuccessStatus is a positive status log message

func (MyLog) Time

func (l MyLog) Time()

Time is time.Now() log message

func (MyLog) Warning

func (l MyLog) Warning(a ...interface{})

Warning is a log WARNING messge

Jump to

Keyboard shortcuts

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