log

package
v0.0.0-...-8c2001a Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogOptions

type LogOptions struct {
	LogdSecret string
	Folder     string
	FilePrefix string
	LogdPort   string
	NodeId     int64
}

type LogService

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

func New

func New(opts LogOptions) *LogService

func (*LogService) GetAppLogger

func (ls *LogService) GetAppLogger() *zerolog.Logger

func (*LogService) GetEngineLogger

func (ls *LogService) GetEngineLogger() *zerolog.Logger

func (*LogService) GetLogProxy

func (ls *LogService) GetLogProxy() logx.Proxy

func (*LogService) GetServiceLogger

func (ls *LogService) GetServiceLogger(service string) zerolog.Logger

func (*LogService) GetSiteLogger

func (ls *LogService) GetSiteLogger(tenantId, domain string) zerolog.Logger

type SimpleLogProxy

type SimpleLogProxy struct {
	Path string
}

func (*SimpleLogProxy) Query

func (s *SimpleLogProxy) Query(tenantId string, req logx.QueryRequest) ([]logx.Log, error)

Jump to

Keyboard shortcuts

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