Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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.

About

Composite logger for golang, built on logrus.

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages