VyLog

package module
v0.0.0-...-e88f6b3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2017 License: GPL-3.0 Imports: 5 Imported by: 1

README

VyLog

Simple logger for go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLevelByName

func GetLevelByName(levelName string) int

Types

type LoggerInterface

type LoggerInterface interface {
	Trace(string)

	Debug(string)

	Info(string)

	Warn(string)

	Error(string)

	Fatal(string)
	// contains filtered or unexported methods
}

type Vylog

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

func (*Vylog) AddHandler

func (log *Vylog) AddHandler(handlers ...handler.Handler)

func (*Vylog) Debug

func (log *Vylog) Debug(msg string)

func (*Vylog) Error

func (log *Vylog) Error(msg string)

func (*Vylog) Fatal

func (log *Vylog) Fatal(msg string)

func (*Vylog) Info

func (log *Vylog) Info(msg string)

func (*Vylog) Trace

func (log *Vylog) Trace(msg string)

func (*Vylog) Warn

func (log *Vylog) Warn(msg string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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