logging

package
v0.0.0-...-389ea72 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogHandler

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

func NewLogger

func NewLogger(name string, debug bool) *LogHandler

NewLogger gets new logger logger

func (LogHandler) Error

func (l LogHandler) Error(componentName string, err error, format string, args ...interface{})

Error logs an error log message

func (LogHandler) Fatal

func (l LogHandler) Fatal(componentName string, err error, format string, args ...interface{})

Fatal logs a fatal error message

func (LogHandler) Info

func (l LogHandler) Info(componentName string, format string, args ...interface{})

Info logs an info log message

Jump to

Keyboard shortcuts

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