The highest tagged major version is
v28.
package
Version:
v0.27.2
Opens a new window with list of versions in this module.
Published: Oct 18, 2023
License: Apache-2.0
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
¶
Package prefixgen is a prefix generation helper for log messages
and any other kind.
Option configures Prefixer.
Color sets color to the prefix.
Common holds some common prefix options and extends those
options by given options.
SpaceRight adds rights space to the prefix.
SquareBrackets adds square brackets to the prefix.
Uppercase formats the prefix to uppercase.
Prefixer generates prefixes.
New creates a new Prefixer with format and options.
Format is an fmt.Sprintf() like format to dynamically create prefix texts
as needed.
Gen generates a new prefix by applying s to format given during New().
Source Files
¶
Click to show internal directories.
Click to hide internal directories.