processlog

package
v0.0.0-...-dd9793c Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 3

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