actionlog

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func New

func New(enabled bool, out io.Writer) *Logger

func (*Logger) Enabled

func (l *Logger) Enabled() bool

func (*Logger) Note

func (l *Logger) Note(message string, fields map[string]string)

func (*Logger) PrintSummary

func (l *Logger) PrintSummary()

func (*Logger) Step

func (l *Logger) Step(classification, target, message string, fields map[string]string)

type Summary

type Summary struct {
	FilesReadCount        int
	ExternalRequestsCount int
	ExternalDomains       map[string]struct{}
	WriteModifyCount      int
	SystemChangingCount   int
}

Jump to

Keyboard shortcuts

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