logging

package
v0.0.0-...-efd161f Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(id int, message interface{}) error

Error creates and logs an error message.

'id' should be a unique error ID specified in hex, for example Error(0xE12345, "some error message")

'message' contains an error message. This should be a string or an error value.

Returns an error containing a hexadecimal ID and error message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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