logger

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2019 License: MIT Imports: 7 Imported by: 0

README

logger.go

Golang logger

Build Status License

Available methods:

log.Dump(...interface{}) // Reference to spew: https://github.com/davecgh/go-spew
log.Log(...interface{})
log.Info(...interface{})
log.Warning(...interface{})
log.Error(...interface{})

Example usage:

package main


import (
	log "github.com/tiny-libs/logger-go"
)

func main() {
	log.Info("Hello world")
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dump

func Dump(data ...interface{})

func Error

func Error(data ...interface{})

func Info

func Info(data ...interface{})

func Log

func Log(data ...interface{})

func Warning

func Warning(data ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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