logger

package
v0.0.0-...-514fb8c Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Disable

func Disable()

Disable logging to file

func Enable

func Enable()

Enable logging to file

func Filter

func Filter(f string)

Filter filters logs only that contain specific keyword

func Log

func Log(text string)

Log writes text to standard output and file

func Logf

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

Logf writes formated text to standard output and file

func Logln

func Logln(v ...interface{})

Logln writes text with new line to standard output and file

func SetFilename

func SetFilename(fileName string)

SetFilename updates filename in which logs will be saved

Types

This section is empty.

Jump to

Keyboard shortcuts

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