logging

package
v0.0.0-...-a3ce238 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package logging provides an abstraction layer for logging functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	logrus.FieldLogger
	WrappedLogger() *logrus.Logger
}

Interface wraps the logrus.FieldLogger interface.methods.

type Logger

type Logger struct {
	*logrus.Logger
}

Logger is a struct to wrap a *logrus.Logger.

func New

func New() *Logger

New returns a new *Logger instance.

func (*Logger) WrappedLogger

func (log *Logger) WrappedLogger() *logrus.Logger

WrappedLogger returns the wrapped *logrus.Logger instance.

Jump to

Keyboard shortcuts

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