go-composite-logger

module
v0.0.0-...-03d0fbf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2018 License: MIT

README

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL