logger

package
v0.0.0-...-262230d Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

logger package Define logging methods

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(message string)

Command log executed commands

func Error

func Error(err error)

Error log error information and exit

func Info

func Info(message string)

Info iog important information

func SetTraceOutput

func SetTraceOutput(w io.Writer)

SetTraceOutput change Trace output writer, default is ioutil.Discard.

func Trace

func Trace(message interface{})

Trace log anything to trace

Types

This section is empty.

Jump to

Keyboard shortcuts

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