processlog

package
v0.0.0-...-2a3a66a Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stats

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

Stats represents log statistics.

func Process

func Process(config *config.BugReportConfig, logStr string) (string, *Stats)

Process processes logStr based on the supplied config and returns the processed log along with statistics on it.

func (*Stats) Importance

func (s *Stats) Importance() int

Importance returns an integer that indicates the importance of the log, based on the given Stats in s. Larger numbers are more important.

Jump to

Keyboard shortcuts

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