log

package
v3.5.0-0.dev+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 23, 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

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