Categorygithub.com/Tsisar/extended-log-go
module
1.0.1
Repository: https://github.com/tsisar/extended-log-go.git
Documentation: pkg.go.dev

# README

Extended Log Go

A lightweight logging package for Go projects, built on top of logrus for advanced structured logging. Includes support for colored logs for enhanced readability.

Features

  • Built-in integration with logrus for structured logging.
  • Supports multiple log levels: INFO, WARN, ERROR, DEBUG, etc.
  • Colored log output with ginkgo.

Installation

Install the package and its dependencies:

go get github.com/Tsisar/[email protected]

Usage

Basic Logging Example

package main

import (
	"github.com/Tsisar/extended-log-go/log"
)

func main() {
	logger := log.NewLogger()

	logger.Info("Application started")
	logger.Warn("This is a warning")
	logger.Error("An error occurred")
}

Dependencies

This package relies on the following external libraries:

  • logrus: For structured logging.
  • ginkgo: For color support in logs.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Developed with ❤️ by Tsisar.

# Packages

No description provided by the author