processlog

package
v0.0.0-...-29a0f12 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MIT, Apache-2.0 Imports: 4 Imported by: 0

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