logging

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2016 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(subsystem string, msg string, args ...interface{})

Debug wrtites Debug level logs to logger

func DebugHTTPRequest

func DebugHTTPRequest(subsystem string, r *http.Request)

DebugHTTPRequest wrtites Debug level logs of HTTP requests to logger

func Log

func Log(subsystem string, msg string, args ...interface{})

Log wrtites Info level logs to logger

func LogHTTPRequest

func LogHTTPRequest(subsystem string, r *http.Request)

LogHTTPRequest wrtites Info level logs of HTTP requests to logger

func RecordLogs

func RecordLogs(logger minimalLogger, debug bool)

RecordLogs prints logs into the logger according to thier level and requested debugging level (debug=true for more logs)

Types

This section is empty.

Jump to

Keyboard shortcuts

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