logtail

package
v0.3.4 Latest Latest
Warning

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

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

Documentation

Overview

Package logtail consumes log files and manages compaction using fallocate.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tail

func Tail(ctx context.Context, path string, cb func([]byte) error) error

Tail returns a channel that will receive log lines as they are written to the log file. The channel will be closed when the context is canceled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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