internal

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestingMode bool

TestingMode indicates that we're currently running a test. When true, panic instead of os.Exit.

Functions

This section is empty.

Types

type Log

type Log struct {
	Logur Logur
}

func (*Log) Debug

func (log *Log) Debug(msg string, fields ...map[string]interface{})

func (*Log) Error

func (log *Log) Error(msg string, fields ...map[string]interface{})

func (*Log) Info

func (log *Log) Info(msg string, fields ...map[string]interface{})

func (*Log) Trace

func (log *Log) Trace(msg string, fields ...map[string]interface{})

func (*Log) Warn

func (log *Log) Warn(msg string, fields ...map[string]interface{})

type Logur

type Logur interface {
	Trace(msg string, fields ...map[string]interface{})
	Debug(msg string, fields ...map[string]interface{})
	Info(msg string, fields ...map[string]interface{})
	Warn(msg string, fields ...map[string]interface{})
	Error(msg string, fields ...map[string]interface{})
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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