Skip to content

jgrancell/logger

Repository files navigation

logger

GoDoc codebeat badge codecov

Logger is a small, straightforward library to enhance your Go applications with powerful logging features.

Overview

Logger is a library providing a simple interface to add feature rich and customizable logging support to your application.

Logger is composed of modular Handlers, each of which implement a different mechanism by which your application can output logging information.

Currently supported handlers include:

  • Standard Out / Standard Error
  • File Logging

Logger also includes a number of modular Formatters, which transform your log messages into standards-compliant formats before they are logged.

Currently supported formatters include:

Usage Documentation

Installation

Using this package requires a working Go environment. See the install instructions for Go.

...
import (
  "github.com/jgrancell/logger"
)
...