format

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package format provides an Enum type that expresses the various logging formats supported by this library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Enum

type Enum int

Enum for possible formats.

See below constants for possible values.

const (
	// Default allows one to format log entries according to the logger's native
	// behavior (same as when using plain slog).
	Default Enum = iota
	// JSONBunyan allows one to format log entries to Bunyan compatible JSON.
	JSONBunyan
)

Enum possible values.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳