logger

package module
v0.0.0-...-83380f3 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2018 License: MIT Imports: 3 Imported by: 0

README

Installation

go get -u github.com/fatih/color
go get -u github.com/joaobaiense/logger

Example go file

package main 
import (
    log "github.com/joaobaiense/logger"
)
func main(){
    log.Init(os.Stdout)
    log.Info("Hey, this is in color")
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fatalf

func Fatalf(format string, v ...interface{})

Fatalf Printf

func Info

func Info(format string, v ...interface{})

Info logs in color

func Init

func Init(infoHandle io.Writer)

Init the io.Writers

func Printf

func Printf(format string, v ...interface{})

Printf printf

Types

This section is empty.

Jump to

Keyboard shortcuts

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