logging

package
v0.0.0-...-e51d946 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package logging for Logrus standard logger: https://github.com/sirupsen/logrus

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

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

Event struct for logging wrapper

type StandardLogger

type StandardLogger struct {
	*logrus.Logger
}

StandardLogger enforces specific log message formats

func NewLogger

func NewLogger() *StandardLogger

NewLogger initializes the standard logger

func (*StandardLogger) InvalidArg

func (l *StandardLogger) InvalidArg(argumentName string)

InvalidArg is a standard error message

func (*StandardLogger) InvalidArgValue

func (l *StandardLogger) InvalidArgValue(argumentName string, argumentValue string)

InvalidArgValue is a standard error message

func (*StandardLogger) MissingArg

func (l *StandardLogger) MissingArg(argumentName string)

MissingArg is a standard error message

Jump to

Keyboard shortcuts

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