logoptions

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package options defines log options

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogOptions

type LogOptions struct {
	// contains filtered or unexported fields
}

LogOptions maintains log initialization flags

func NewLogOptions

func NewLogOptions() *LogOptions

NewLogOptions initialize logging with default options and return logging flag object

func (*LogOptions) AddFlags

func (options *LogOptions) AddFlags(fs *pflag.FlagSet)

AddFlags adds logging flags in framework

func (*LogOptions) Apply

func (options *LogOptions) Apply() error

Apply initializes logging module with logging options

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL