Skip to content

Latest commit

 

History

History
103 lines (66 loc) · 1.9 KB

readme-template.md

File metadata and controls

103 lines (66 loc) · 1.9 KB

{{ .title.name }}

{{ .title.description }}

GoDoc Build Status Coverage Status Go Report

Installation

{{ .installation }}

Quick Start

package main

import (
 "os"

 "github.com/dougEfresh/zapz"
   )

func main() {
 l, err := zapz.New(os.Args[1]) //logzio token required
 if err != nil {
   panic(err)
 }

 l.Info("tester")
 // Logs are buffered on disk, this will flush it
 if l.Sync() != nil {
     panic("oops")
 }
}

{{ .quickStart.code}}

{{ .quickStart.description }}

Getting Started

Get Logzio token

  1. Go to Logzio website
  2. Sign in with your Logzio account
  3. Click the top menu gear icon (Account)
  4. The Logzio token is given in the account page

Usage

{{- range .usages }}

{{.}}

{{- end }}

Examples

{{- range .examples }}

{{.}}

{{- end }}

Prerequisites

go 1.x

Tests

{{- range .tests }}

{{.}}

{{- end }}

Contributing

All PRs are welcome

Authors

License

This project is licensed under the Apache License - see the LICENSE file for details

Acknowledgments

logz java

TODO