log

package
v0.0.0-...-07c2c16 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(message string, logType Type)

Types

type Log

type Log struct {
	Message   string
	Type      Type
	CreatedAt time.Time
}

func (*Log) String

func (l *Log) String() string

type Type

type Type uint
const (
	TypeDefault Type = iota
	TypeWarning
	TypePanic
	TypeFatal
	TypeDebug
)

Jump to

Keyboard shortcuts

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