logger

package
v0.0.43 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckLogger

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

CheckLogger handles logging for individual check runs.

func NewCheckLogger

func NewCheckLogger(id string) *CheckLogger

NewCheckLogger creates a new logger for a check run.

func (*CheckLogger) GetBuffer

func (l *CheckLogger) GetBuffer() *bytes.Buffer

GetBuffer returns the underlying buffer.

func (*CheckLogger) GetID

func (l *CheckLogger) GetID() string

GetID returns the check run ID.

func (*CheckLogger) Print

func (l *CheckLogger) Print(v ...interface{})

Print logs a message.

func (*CheckLogger) Printf

func (l *CheckLogger) Printf(format string, v ...interface{})

Printf logs a formatted message.

Jump to

Keyboard shortcuts

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