app_log

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

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationLogger

type ApplicationLogger struct {
	Config      *config.Config
	Ckwriter    *ckwriter.CKWriter
	SysLogger   *Logger
	AgentLogger *Logger
	AppLogger   *Logger
}

func NewApplicationLogger

func NewApplicationLogger(
	config *config.Config,
	recv *receiver.Receiver,
	platformDataManager *grpc.PlatformDataManager,
) (*ApplicationLogger, error)

func (*ApplicationLogger) Close

func (l *ApplicationLogger) Close() error

func (*ApplicationLogger) Start

func (l *ApplicationLogger) Start()

type Logger

type Logger struct {
	Config        *config.Config
	Decoders      []*decoder.Decoder
	PlatformDatas []*grpc.PlatformInfoTable
}

func NewLogger

func NewLogger(
	msgType datatype.MessageType,
	config *config.Config,
	manager *dropletqueue.Manager,
	recv *receiver.Receiver,
	platformDataManager *grpc.PlatformDataManager,
	ckwriter *ckwriter.CKWriter,
) (*Logger, error)

func (*Logger) Close

func (l *Logger) Close() error

func (*Logger) Start

func (l *Logger) Start()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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