logging

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type LogInitializer

type LogInitializer struct {
	// contains filtered or unexported fields
}

func NewLogInitializer

func NewLogInitializer(logLevel string) *LogInitializer

func (LogInitializer) Initialize

func (li LogInitializer) Initialize() error

func (LogInitializer) InitializeWithLogFile

func (li LogInitializer) InitializeWithLogFile() error

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

func NewWriter

func NewWriter(path string) *Writer

func (Writer) Write

func (w Writer) Write(readCloser io.ReadCloser) error

Jump to

Keyboard shortcuts

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