Discover Packages
github.com/joealcorn/cutl
internal
log
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Dec 22, 2025
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Entry represents a parsed log line.
Parse attempts to parse a line using the specified format.
If format is FormatAuto, it tries to detect the format.
If parsing fails, it returns an Entry with Valid=false and the raw line preserved.
Format represents a log format type.
const (
FormatGuess Format = iota
FormatJSON
FormatLogfmt
)
ParseFormat converts a string to a Format.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.