errorlogging

package
v0.0.0-...-2223176 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package errorlogging provides a clean function to allow for error checking throughout the module instead of the if err != nil pattern.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatLog

func FormatLog() *os.File

FormatLog sets up the logging file and format.

func Write

func Write(level, message string, reportedErr error)

Write writes messages to a log.

Types

This section is empty.

Jump to

Keyboard shortcuts

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