log

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package log provides support for logging to stdout and stderr.

Log entries will be logged in the following format:

timestamp hostname tag[pid]: SEVERITY Message

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetLevel added in v0.9.0

func SetLevel(level string)

SetLevel sets the log level. Valid levels are panic, fatal, error, warn, info and debug.

func SetTag

func SetTag(t string)

SetTag sets the tag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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