libLogger

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonLogger

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

func (JsonLogger) Write

func (j JsonLogger) Write(p []byte) (n int, err error)

type LoggerInterface

type LoggerInterface interface {
	GetLogPath() string
	GetLogSize() int
	GetLogCompress() bool
	GetSkipPaths() []string
	GetHeaderName() string
}

type StdoutLogger

type StdoutLogger struct {
}

func (StdoutLogger) Config

func (logger StdoutLogger) Config(wsParams libParams.ParamInterface) gin.LoggerConfig

func (StdoutLogger) Write

func (logger StdoutLogger) Write(p []byte) (n int, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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