logger

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: BSD-3-Clause, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	IsDebug bool
	// contains filtered or unexported fields
}

Logger for debug output

func (*Logger) Log

func (l *Logger) Log(msg string)

Log message

func (*Logger) LogDebug

func (l *Logger) LogDebug(msg string)

LogDebug message

func (*Logger) LogDebugWithObject

func (l *Logger) LogDebugWithObject(msg string, object interface{})

LogDebugWithObject with message and object

func (*Logger) LogWithObject

func (l *Logger) LogWithObject(msg string, object interface{})

LogWithObject with message and object

Jump to

Keyboard shortcuts

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