log

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package log handles logging capabilities of harvester.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsulLogger added in v0.9.0

func ConsulLogger() hclog.Logger

ConsulLogger return a consul compatible logger.

func Debugf added in v0.6.2

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

Debugf provides log debug capabilities.

func Errorf

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

Errorf provides log error capabilities.

func Infof

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

Infof provides log info capabilities.

func Setup

func Setup(inf, waf, erf, dbf Func) error

Setup allows for setting up custom loggers.

func Warnf

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

Warnf provides log warn capabilities.

Types

type Func

type Func func(string, ...interface{})

Func function definition.

Jump to

Keyboard shortcuts

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