log

package
v0.0.0-...-e445f7c Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2018 License: BSD-3-Clause Imports: 3 Imported by: 5

Documentation

Overview

Package log sets up logging for the process

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(s string)

Error writes a log entry with priority Error

func Fatal

func Fatal(s string)

Fatal writes a log entry with priority Error and stops the process

func Info

func Info(s string)

Info writes a log entry with proirity Info

func InitSyslog

func InitSyslog(tag string)

InitSyslog tries to get in touch with local syslog

func Logger

func Logger(tag string) *log.Logger

Logger returns an object to write logs to (used by http.Server)

Types

This section is empty.

Jump to

Keyboard shortcuts

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