{{ .title.description }}
{{ .installation }}
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 }}
- Go to Logzio website
- Sign in with your Logzio account
- Click the top menu gear icon (Account)
- The Logzio token is given in the account page
{{- range .usages }}
{{.}}
{{- end }}
{{- range .examples }}
{{.}}
{{- end }}
go 1.x
{{- range .tests }}
{{.}}
{{- end }}
All PRs are welcome
- Douglas Chimento - {{.user}}
This project is licensed under the Apache License - see the LICENSE file for details