deadlogs

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: MIT Imports: 4 Imported by: 0

README

Logs Package

Overview

The Logs package provides enhanced logging functionalities for Go applications. It includes different logging levels such as INFO, SUCCESS, ERROR, WARN, and DEBUG, each with its corresponding log function.

Installation

go get github.com/deadlium/deadlogs

Usage

To use this package, you can simply import it in your Go code:

import "github.com/deadlium/deadlogs"

Documentation

Index

Constants

View Source
const (
	InfoLevel    = "INFO:"
	SuccessLevel = "SUCCESS:"
	ErrorLevel   = "ERROR:"
	WarnLevel    = "WARN:"
	DebugLevel   = "DEBUG:"
)

Enhanced logging levels

Variables

This section is empty.

Functions

func Debug

func Debug(message string)

func Error

func Error(message string)

func Info

func Info(message string)

func Success

func Success(message string)

func Warn

func Warn(message string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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