levels

package module
v0.0.0-...-19cd21e Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 0 Imported by: 4

Documentation

Overview

Multiple Logs GitHub repository:

https://github.com/takecontrolsoft/go_multi_log

Package "levels"

This package provides constants for different log levels.

Based on the levels the logged messages could be filtered.

Multiple loggers could be configured to log messages from different levels.

Take Control - software & infrastructure

The package is created and maintained by "Take Control - software & infrastructure".

Web site: https://takecontrolsoft.eu

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogLevel

type LogLevel int

LogLevel type represents the supported log levels

const (
	All     LogLevel = 0
	Debug   LogLevel = 1
	Trace   LogLevel = 2
	Info    LogLevel = 3
	Warning LogLevel = 4
	Error   LogLevel = 5
	Fatal   LogLevel = 6
)

func (LogLevel) String

func (level LogLevel) String() string

Converts to string the name of the LogLevel value

Jump to

Keyboard shortcuts

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