log

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger = new(Logs)

Logger holds methods to log messages to files

Functions

This section is empty.

Types

type Logs

type Logs struct {
	ErrorLog string
	InfoLog  string
}

Logs struct holds path to different logs

func (*Logs) Error

func (l *Logs) Error(message string, v ...interface{})

Error logs everything bad that happens in application

func (*Logs) Info

func (l *Logs) Info(message string, v ...interface{})

Info logs everything that happens in application

Jump to

Keyboard shortcuts

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