Git Product home page Git Product logo

log's Introduction

log

A versatile and modular logging library designed specifically for Go applications. With log, you can effortlessly manage and organize your logs in a way that suits your modular application structure. Whether you need a global logger for your application or specific local loggers for individual modules, log has got you covered.

go get github.com/leonidasdeim/log

Features

Modular Logging: log is tailored for modular applications, allowing you to create both global and local loggers. This flexibility empowers you to manage logs efficiently across different parts of your application while maintaining global properties.

Global and Local Logging: Enjoy the best of both worlds. Use a main logger for global logging requirements, while simultaneously creating local loggers with distinct properties for individual modules or components.

Customizable Logging Levels: log supports customizable logging levels, enabling you to fine-tune the verbosity of your logs. Choose from a range of logging levels such as DEBUG, INFO, WARNING, ERROR, and FATAL.

Formatted Logging: Format your log messages the way you want. log supports flexible log message formatting to suit your needs.

Concurrency-Safe: Built to handle concurrent access safely, log ensures that your logs won't get tangled when multiple goroutines are writing to the same logger.

Extensible: Easily extend log with custom log output targets or adjust its behavior to fit your specific application requirements.

Usage

Please check usage examples in examples/

log's People

Contributors

leonidasdeim avatar

Stargazers

 avatar Clayton Kehoe avatar

Watchers

 avatar  avatar

log's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.