logging

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package logging provides logging facilities for the integrator service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Level

type Level int
const (
	Panic Level = iota
	Fatal
	Error
	Warn
	Info
	Debug
	Trace
)

type Logger

type Logger struct {
	MaxLevel Level
}

func (*Logger) GetMaxLevel

func (logger *Logger) GetMaxLevel() Level

func (*Logger) Log

func (logger *Logger) Log(lvl Level, txt string, fields m.Map)

func (*Logger) SetMaxLevel

func (logger *Logger) SetMaxLevel(level Level)

Jump to

Keyboard shortcuts

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