log

package
v0.0.0-...-62b998c Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

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

func NewFile

func NewFile(path string) *File

func (*File) LogMessage

func (f *File) LogMessage(message csp.Message)

func (*File) LogString

func (f *File) LogString(line string)

type Logger

type Logger interface {
	LogMessage(message csp.Message)
	LogString(line string)
}

type Null

type Null struct {
}

func NewNull

func NewNull() *Null

func (*Null) LogMessage

func (nl *Null) LogMessage(m csp.Message)

func (*Null) LogString

func (nl *Null) LogString(line string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳