file_logger

package
v0.0.0-...-0b3c072 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	FileName      string `toml:"file_name"`
	FlushInterval string `toml:"flush_interval"`
}

type FileLogger

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

func NewFileLogger

func NewFileLogger(name string, ids common.Set[string], config Config) FileLogger

func (*FileLogger) Ids

func (fl *FileLogger) Ids() common.Set[string]

func (*FileLogger) Start

func (fl *FileLogger) Start(basePath string) chan<- logger_handler.Loggable

Jump to

Keyboard shortcuts

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