logging

package
v0.0.0-...-031e6a7 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitStandardLogger

func InitStandardLogger(setts *Settings) error

func NewLogger

func NewLogger(setts *Settings) (*log.Logger, error)

Types

type Settings

type Settings struct {
	LogToFile       bool
	FileName        string
	TimestampFormat string
	Level           log.Level
}

Jump to

Keyboard shortcuts

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