_zerolog

package module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 5 Imported by: 1

README

Zerolog Helper

import "github.com/linolabx/cli_helpers/plugins/_zerolog"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZeroLogPS

type ZeroLogPS struct {
	LogLevel helpers.FlagHelper
	// contains filtered or unexported fields
}

func NewZeroLogPS

func NewZeroLogPS() *ZeroLogPS

func (*ZeroLogPS) GetInstance

func (this *ZeroLogPS) GetInstance() zerolog.Logger

func (*ZeroLogPS) HandleCommand

func (this *ZeroLogPS) HandleCommand(cmd *cli.Command) error

func (*ZeroLogPS) HandleContext

func (this *ZeroLogPS) HandleContext(cCtx *cli.Context) error

func (*ZeroLogPS) SetCategory

func (this *ZeroLogPS) SetCategory(category string) *ZeroLogPS

func (*ZeroLogPS) SetPrefix

func (this *ZeroLogPS) SetPrefix(prefix string) *ZeroLogPS

Jump to

Keyboard shortcuts

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