status

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2025 License: GPL-3.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Status

type Status int

Status is the status of the logger

const (
	Info Status = iota
	Debug
	Warning
	Error
	Critical
)

func (Status) Format added in v0.4.5

func (s Status) Format(
	contentSeparator *gostringsseparator.Content,
	addCharactersFn gostringsadd.CharactersFn,
) string

Format gets the formatted status

Parameters:

  • contentSeparator *gostringsseparator.Content: the content separator
  • addCharactersFn gostringsadd.CharactersFn: the function to add characters

Returns:

  • string: the formatted status

func (Status) String

func (s Status) String() string

String returns the string representation of the status

Returns:

  • string: the string representation of the status

Jump to

Keyboard shortcuts

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