dev

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2018 License: MIT Imports: 6 Imported by: 19

README

dev

created because why do i keep rewriting this in all of my projects

also created because of the memes

purpose and usage

include this package in your project if you want dev logging to be a thing

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(i ...interface{})

func Errorf

func Errorf(s string, i ...interface{})

func IsDev

func IsDev() bool

func IsHardcore

func IsHardcore() bool

func Log

func Log(i ...interface{})

func Logf

func Logf(s string, i ...interface{})

Types

type Logger

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

func New

func New(prefix string) *Logger

func (*Logger) Error

func (l *Logger) Error(i ...interface{})

func (*Logger) Errorf

func (l *Logger) Errorf(s string, i ...interface{})

func (*Logger) Log

func (l *Logger) Log(i ...interface{})

func (*Logger) Logf

func (l *Logger) Logf(s string, i ...interface{})

Jump to

Keyboard shortcuts

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