logging

package
Version: v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2016 License: MIT Imports: 2 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fatal

func Fatal(v ...interface{})

func Fatalf

func Fatalf(format string, v ...interface{})

func Fatalln

func Fatalln(v ...interface{})

func Print

func Print(v ...interface{})

func Printf

func Printf(format string, v ...interface{})

func Println

func Println(v ...interface{})

func SetLogger

func SetLogger(channelLogger ChannelLogger)

Types

type ChannelLogger

type ChannelLogger struct {
	ChannelLog chan string
}

func (ChannelLogger) Fatal

func (logger ChannelLogger) Fatal(v ...interface{})

func (ChannelLogger) Fatalf

func (logger ChannelLogger) Fatalf(format string, v ...interface{})

func (ChannelLogger) Fatalln

func (logger ChannelLogger) Fatalln(v ...interface{})

func (ChannelLogger) Print

func (logger ChannelLogger) Print(v ...interface{})

func (ChannelLogger) Printf

func (logger ChannelLogger) Printf(format string, v ...interface{})

func (ChannelLogger) Println

func (logger ChannelLogger) Println(v ...interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL