logging

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PathAppLogFile = "/home/ces-importer/migration-log/log.log"
)

Variables

This section is empty.

Functions

func GetWriter added in v0.0.6

func GetWriter() io.Writer

func InitStructuredLogger added in v0.0.6

func InitStructuredLogger(options ...LoggerOption) error

Types

type LoggerOption added in v0.0.6

type LoggerOption func(*logger) error

func WithComponent added in v0.0.6

func WithComponent(component string) LoggerOption

func WithFile added in v0.0.6

func WithFile(file string) LoggerOption

func WithLevel added in v0.0.6

func WithLevel(level string) LoggerOption

Jump to

Keyboard shortcuts

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