writer

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Console

type Console struct {
	WriterRoot
}
var (
	DefaultConsoleWriter Console
)

func (Console) Close

func (c Console) Close()

func (Console) Write

func (c Console) Write(rec *core.Record)

type Writer

type Writer interface {
	Write(rec *core.Record)
	Close()
}

func NewConsoleWriter

func NewConsoleWriter(section *ini.Section) (Writer, error)

type WriterRoot

type WriterRoot struct {
	OutTime    bool
	OutSource  bool
	OutLogName bool
	Level      core.LEVEL
}

Jump to

Keyboard shortcuts

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