istio: Index | Files

package processlog

import ""


Package Files


type Stats Uses

type Stats struct {
    // contains filtered or unexported fields

Stats represents log statistics.

func Process Uses

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 Uses

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.

Package processlog imports 4 packages (graph) and is imported by 1 packages. Updated 2020-10-15. Refresh now. Tools for package owners.