logging

package module
v0.0.0-...-6f463b7 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: GPL-3.0 Imports: 8 Imported by: 10

README

Scholarship Tracker Utilities - Logging

gopherbadger-tag-do-not-edit

Custom logging package for Scholarship Tracker

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(entry *log.Entry, err error, msg string)

func Fatal

func Fatal(entry *log.Entry, err error, msg string)

func Logger

func Logger() *log.Entry

func SetTestLogHandler

func SetTestLogHandler() *memory.Handler

func TestLog

func TestLog(handler *memory.Handler, expected []*log.Entry, fn func(s string))

func TestLogLevels

func TestLogLevels(handler *memory.Handler, expected []*log.Entry, levels []log.Level, fn func(s string))

func TrackerError

func TrackerError(entry *log.Entry, err error) *log.Entry

Types

This section is empty.

Jump to

Keyboard shortcuts

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