logging

package
v0.0.0-...-8f13b60 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2018 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

Logger type

func New

func New(s string) *Logger

New generate a new logger

func (*Logger) Disable

func (l *Logger) Disable()

Disable ...

func (*Logger) Enable

func (l *Logger) Enable()

Enable ...

func (*Logger) Fatal

func (l *Logger) Fatal(s string, v ...string)

Fatal logs a message with using the name of the logger

func (*Logger) Message

func (l *Logger) Message(s string, v ...string)

Message logs a message with using the name of the logger

Jump to

Keyboard shortcuts

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