meshLog

package module
v0.0.0-...-69c3abb Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2016 License: MIT Imports: 5 Imported by: 0

README

MeshLog

MeshLog is another Golang logging helper.

Why another logging helper?

Because this one is better than the rest.

Where's the rest of the docs?

Coming soon...

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(obj interface{})

Debug is a convenience method appending a debug message to the logger

func Debugf

func Debugf(msg string, a ...interface{})

Debugf is a convenience method appending a debug message to the logger

func Fatal

func Fatal(obj interface{})

Fatal is a convenience method appending a fatal message to the logger

func Fatalf

func Fatalf(msg string, a ...interface{})

Fatalf is a convenience method appending a fatal message to the logger

func Info

func Info(obj interface{})

Info is a convenience method appending a info style message to the logger

func Infof

func Infof(msg string, a ...interface{})

Infof is a convenience method appending a info style message to the logger

func Perror

func Perror(err error)

Perror is Syntax Sugga for panicing on error

func Warn

func Warn(obj interface{})

Warn is a convenience method appending a warning message to the logger

func Warnf

func Warnf(msg string, a ...interface{})

Warnf is a convenience method appending a warning message to the logger

func Write

func Write(data []byte) (int, error)

Write allows the logger to conform to io.Writer. Assume info level logging

Types

type LogLevel

type LogLevel int

LogLevel indicates the level of logging

type Logger

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

Logger is the wrapper around a given logging message

Jump to

Keyboard shortcuts

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