Categorygithub.com/hyperyuri/logg
modulepackage
0.2.0
Repository: https://github.com/hyperyuri/logg.git
Documentation: pkg.go.dev

# README

🔥 logg

Open Source Cloud logging library in Go.

About the project

  • Connect your golang microservices logs with this engine!
  • Send your logs to kafka, rabbitMQ or REST! And then manage them!
  • Feel free to implement more writers

Instalation

go get -u github.com/hyperyuri/logg

Quick Start

//Setup logger
logger := logg.NewLogger().
WithWriter(writer.WithDebugMode()).
WithDefaultConfig(logg.NewDefaultConfig("team-x", "project-x"))
logger.SetLevels(levels.NewLevels(logger))

//To use the log
logger.Error("This is an example of an error")
  • Check the examples folder to see more options

💪 How to contribute to the project?

  • Do a fork of the project.
  • Submitting issue (please, follow template)
  • Create a new branch with your changes: git checkout -b my-feature
  • Save your changes and create a commit with a message: git commit -m "feature: My new feature"
  • Send your changes and send a PR

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewDefaultConfig create a config that will set your project and the maintainer.
No description provided by the author
NewMessage create the message that will send to writers.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author