log

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Membership

type Membership interface {
	Members() []string
	Addr() string
}

Membership represents a contract required for recovering cluster information.

type Table

type Table struct {
	timeseries.Table
	// contains filtered or unexported fields
}

Table represents a log table.

func New

func New(cfg config.Func, cluster Membership, monitor monitor.Monitor) *Table

New creates a new table implementation.

func (*Table) Append

func (t *Table) Append(msg string, level logging.Level) error

Append converts message to a block and append to timeseries

func (*Table) Debugf

func (t *Table) Debugf(f string, v ...interface{})

Debugf writes out a warning message into the output logger.

func (*Table) Errorf

func (t *Table) Errorf(f string, v ...interface{})

Errorf writes out an error message into the output logger.

func (*Table) Infof

func (t *Table) Infof(f string, v ...interface{})

Infof writes out a warning message into the output logger.

func (*Table) Warningf

func (t *Table) Warningf(f string, v ...interface{})

Warningf writes out a warning message into the output logger.

Jump to

Keyboard shortcuts

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