Skip to content
Composite logger for golang, built on logrus.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
compositelogger
.travis.yml
AUTHORS
CONTRIBUTING.md
LICENSE
README.md

README.md

Build Status GoDoc

go-composite-logger

Description

go-composite-logger is a simple library for creating a composite logger.

Installation

go get github.com/spatialcurrent/go-composite-logger

Usage

Import

import (
  "github.com/spatialcurrent/go-composite-logger/compositelogger"
)

Config

logs {

  log {
    location = "stdout"
    level = "info"
    format = "text"
  }

  log {
    location = "~/myapplication/debug.jsonl"
    level = "warn"
    format = "json"
  }

}

Contributing

Spatial Current, Inc. is currently accepting pull requests for this repository. We'd love to have your contributions! Please see Contributing.md for how to get started.

License

This work is distributed under the MIT License. See LICENSE file.

You can’t perform that action at this time.