utils

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2017 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorInitElasticSearch
	ErrorCreateIndexElasticSearch
	ErrorInitDatabase
	ErrorInitQueue
	ErrorLoadTimezone
	ErrorInitPubSub
)

List of exit code

Variables

This section is empty.

Functions

func Error

func Error(message string)

Error is for logging when something goes wrong and code doesn't handle this

func Info

func Info(message string)

Info is for logging information (like return of function)

func Init

func Init()

Init logging configuration

func Log

func Log(message string)

Log is for logging debug variable or call trace

func Success

func Success(message string)

Success if for logging when something goes good

func Warning

func Warning(message string)

Warning is for logging when something goes wrong, but code handle this case

Types

This section is empty.

Jump to

Keyboard shortcuts

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